forked from qt-creator/qt-creator
Debugger: Add leading zeros to transfer a hex-encoded float
Change-Id: Ie9d9159af67c0ef49cd133ec399d50909b853227 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -2503,7 +2503,7 @@ def qdump_64__QV4__Value(d, value):
|
||||
d.putValue('%d' % vv)
|
||||
elif (v >> QV4_IsDouble_Shift):
|
||||
d.putBetterType('%sQV4::Value (double)' % ns)
|
||||
d.putValue('%x' % (v ^ QV4_NaNEncodeMask), 'float:8')
|
||||
d.putValue('%0.16x' % (v ^ QV4_NaNEncodeMask), 'float:8')
|
||||
elif tag == QV4_ValueType_Undefined_Type and not new:
|
||||
d.putBetterType('%sQV4::Value (undefined)' % ns)
|
||||
d.putValue('(undefined)')
|
||||
|
Reference in New Issue
Block a user