diff options
author | Korey Sewell <ksewell@umich.edu> | 2006-03-14 18:30:09 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2006-03-14 18:30:09 -0500 |
commit | 0d8cfed042cbd987fd5b9c5d9307d8c34225c90e (patch) | |
tree | d7fd03fa79135645a11629da94a9d3d33478b7ea /cpu | |
parent | 67a1b7a61b42abb9be2fb075ec0d4cc2f6414926 (diff) | |
parent | 6547e8882ba8fa538a8a80040b7eb82baedc540a (diff) | |
download | gem5-0d8cfed042cbd987fd5b9c5d9307d8c34225c90e.tar.xz |
Merge zizzer:/bk/newmem
into zazzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem
--HG--
extra : convert_revision : 054833d2f7019b9a1247efc4451ccb143242059d
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/simple/cpu.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpu/simple/cpu.cc b/cpu/simple/cpu.cc index ce690cd06..a135f45d6 100644 --- a/cpu/simple/cpu.cc +++ b/cpu/simple/cpu.cc @@ -961,6 +961,9 @@ SimpleCPU::tick() #define IFETCH_FLAGS(pc) 0 #endif + DPRINTF(Fetch,"Fetching PC:%08p NPC:%08p NNPC:%08p\n",cpuXC->readPC(), + cpuXC->readNextPC(),cpuXC->readNextNPC()); + #if SIMPLE_CPU_MEM_TIMING CpuRequest *ifetch_req = new CpuRequest(); ifetch_req->size = sizeof(MachInst); @@ -1077,7 +1080,7 @@ SimpleCPU::tick() #if FULL_SYSTEM fault->invoke(xcProxy); #else // !FULL_SYSTEM - fatal("fault (%d) detected @ PC %08p", fault, cpuXC->readPC()); + fatal("fault (%s) detected @ PC %08p", fault->name(), cpuXC->readPC()); #endif // FULL_SYSTEM } else { |