diff options
author | Andrew Schultz <alschult@umich.edu> | 2004-05-06 15:21:07 -0400 |
---|---|---|
committer | Andrew Schultz <alschult@umich.edu> | 2004-05-06 15:21:07 -0400 |
commit | 4a5dcc37bfb26c152c195061fa70c7aa246b5ca6 (patch) | |
tree | 7c74980b640a7ffdca5bf601a0363c62b6b38257 /cpu/exetrace.cc | |
parent | 8538ffdb3682d71c90c33b92b436a2d9cbdc42c3 (diff) | |
download | gem5-4a5dcc37bfb26c152c195061fa70c7aa246b5ca6.tar.xz |
Whole mess'o'changes.. see individual files
arch/alpha/vtophys.cc:
Removed buggy code that tries to fix PAL addresses (may cause problems
while trying to debug in PAL code, but that should do this fix outside
of vtophys)
base/loader/symtab.cc:
base/loader/symtab.hh:
cpu/exetrace.cc:
Changed InstExec traces to always print a symbol name
dev/ide_ctrl.cc:
dev/ide_disk.cc:
Tabs
dev/ide_disk.hh:
Change buffer size
dev/tsunami_pchip.cc:
Fix translatePciToDma to support scatter gather mapping
kern/linux/linux_system.cc:
Force simulator to wait until remote debugger attaches (should be removed
or turned on/off with a flag)
--HG--
extra : convert_revision : 1d08aebe3f448c87a963dd613de3e2e0cff0d48d
Diffstat (limited to 'cpu/exetrace.cc')
-rw-r--r-- | cpu/exetrace.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpu/exetrace.cc b/cpu/exetrace.cc index 4d3a70f37..0dd1d74d6 100644 --- a/cpu/exetrace.cc +++ b/cpu/exetrace.cc @@ -67,12 +67,8 @@ Trace::InstRecord::dump(ostream &outs) std::string str; - if(debugSymbolTable->findSymbol(PC, str)) + if (debugSymbolTable->findNearestSymbol(PC, str)) outs << "@" << setw(17) << str << " : "; - else if(debugSymbolTable->findSymbol(PC - 4, str)) - outs << "@" << setw(15) << str << "+4 : "; - else if(debugSymbolTable->findSymbol(PC - 8, str)) - outs << "@" << setw(15) << str << "+8 : "; else outs << "0x" << hex << PC << " : "; |