forked from qt-creator/qt-creator
Debugger[CDB]: Fix disassembler for lines with no offset.
Also add function lines as comment. Fix offset display.
This commit is contained in:
@@ -187,7 +187,7 @@ QString DisassemblerLine::toString() const
|
||||
if (address)
|
||||
str += _("0x%1 ").arg(address, 0, 16);
|
||||
if (offset)
|
||||
str += _("<+0x%1> ").arg(offset, 4, 10, QLatin1Char('0'));
|
||||
str += _("<+0x%1> ").arg(offset, 4, 16, QLatin1Char('0'));
|
||||
str += _(" ");
|
||||
str += data;
|
||||
} else if (isCode()) {
|
||||
|
||||
Reference in New Issue
Block a user