forked from qt-creator/qt-creator
Debugger: Use decimal offset in disassembler view
Jump directives are with decimal offset, at least on intel platforms. It is hard to track the jump target. Change-Id: I855068ea7470581667a541a54bb24193ec989dd4 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
e21b146776
commit
06a78b6264
@@ -218,9 +218,9 @@ QString DisassemblerLine::toString(int maxOp) const
|
||||
if (address)
|
||||
str += QString("0x%1 ").arg(address, 0, 16);
|
||||
if (offset)
|
||||
str += QString("<+0x%2> ").arg(offset, 4, 16, QLatin1Char('0'));
|
||||
str += QString("<+%1> ").arg(offset, 5);
|
||||
else
|
||||
str += " ";
|
||||
str += " ";
|
||||
str += QString(" %1 ").arg(bytes);
|
||||
str += QString(maxOp - bytes.size(), QLatin1Char(' '));
|
||||
str += data;
|
||||
|
Reference in New Issue
Block a user