Commit cd2d9361 authored by hjk's avatar hjk Committed by hjk

debugger: fix disassembler

Change-Id: I9e6ea258f6009a8299c0ddc2400abdb07e6dc6eb
Reviewed-on: http://codereview.qt.nokia.com/4120Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 5d445439
......@@ -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()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment