forked from qt-creator/qt-creator
debugger: fix disassembler
Change-Id: I9e6ea258f6009a8299c0ddc2400abdb07e6dc6eb Reviewed-on: http://codereview.qt.nokia.com/4120 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -200,8 +200,8 @@ QString DisassemblerLine::toString() const
|
||||
QString str;
|
||||
if (isAssembler()) {
|
||||
if (address)
|
||||
str += _("0x%1 <+0x%1> ").arg(offset, 4, 16, QLatin1Char('0'))
|
||||
.arg(address, 0, 16);
|
||||
str += _("0x%1 <+0x%2> ").arg(address, 0, 16)
|
||||
.arg(offset, 4, 16, QLatin1Char('0'));
|
||||
str += _(" ");
|
||||
str += data;
|
||||
} else if (isCode()) {
|
||||
|
||||
Reference in New Issue
Block a user