summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-06-04 19:53:05 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-06-04 19:53:05 +0000
commitddbc26c85e267d3a0bdf6332d7e592bc9f17f604 (patch)
tree0eb738800c672dcb73c2038c1e34685a896a3ce4 /src
parent41bc0fc5b27b97f6235e5cd3fe089ff43b588bef (diff)
parent42174babbbf3a5741277e49e367f48bb8a2838e1 (diff)
downloadgem5-ddbc26c85e267d3a0bdf6332d7e592bc9f17f604.tar.xz
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86 --HG-- extra : convert_revision : 77222b85492c8ad6c0b776fa34c83065c77c402e
Diffstat (limited to 'src')
-rw-r--r--src/cpu/simple/base.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc
index a8fe57f0a..33c5877a5 100644
--- a/src/cpu/simple/base.cc
+++ b/src/cpu/simple/base.cc
@@ -413,21 +413,21 @@ BaseSimpleCPU::preExecute()
fetchMicroOp(thread->readMicroPC());
}
-#if TRACING_ON
//If we decoded an instruction this "tick", record information about it.
if(curStaticInst)
{
+#if TRACING_ON
traceData = Trace::getInstRecord(curTick, tc, curStaticInst,
thread->readPC());
DPRINTF(Decode,"Decode: Decoded %s instruction: 0x%x\n",
curStaticInst->getName(), curStaticInst->machInst);
+#endif // TRACING_ON
#if FULL_SYSTEM
thread->setInst(inst);
#endif // FULL_SYSTEM
}
-#endif // TRACING_ON
}
void