diff options
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/exetrace.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/exetrace.cc b/cpu/exetrace.cc index 58fb7d668..ff7e90c9e 100644 --- a/cpu/exetrace.cc +++ b/cpu/exetrace.cc @@ -69,8 +69,8 @@ Trace::InstRecord::dump(ostream &outs) if (debugSymbolTable && debugSymbolTable->findNearestSymbol(PC, sym_str, sym_addr)) { if (PC != sym_addr) - sym_str += csprintf("+%d", addr - sym_addr); - outs << "@" << setw(17) << sym_str << " : "; + sym_str += csprintf("+%d", PC - sym_addr); + outs << "@" << sym_str << " : "; } else { outs << "0x" << hex << PC << " : "; |