projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e904ef3
)
Minor fixes for pc sampling profile.
author
Steve Reinhardt
<stever@eecs.umich.edu>
Tue, 16 Nov 2004 00:57:11 +0000
(19:57 -0500)
committer
Steve Reinhardt
<stever@eecs.umich.edu>
Tue, 16 Nov 2004 00:57:11 +0000
(19:57 -0500)
cpu/exetrace.cc:
Fix dumb mistake.
--HG--
extra : convert_revision :
9d5d0d09775133d1a60cf459f1bd47afa8480663
cpu/exetrace.cc
patch
|
blob
|
history
diff --git
a/cpu/exetrace.cc
b/cpu/exetrace.cc
index 58fb7d668879a9ab405410adce60ba91dc0dff66..ff7e90c9ec670e79bb0be5a2a63584f469de9e41 100644
(file)
--- 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 << "@" << s
etw(17) << s
ym_str << " : ";
+ sym_str += csprintf("+%d",
PC
- sym_addr);
+ outs << "@" << sym_str << " : ";
}
else {
outs << "0x" << hex << PC << " : ";