summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-10-21 05:28:05 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2006-10-21 05:28:05 -0400
commit3ac1ca8ff690316ac39db14ab9eb1e799f43c0c9 (patch)
tree1a1a2ff7be36ae8f90918b2628fcdf118342d68e /src/sim
parent0e121bc14f390089d21ca516084d449a1a42ee54 (diff)
downloadgem5-3ac1ca8ff690316ac39db14ab9eb1e799f43c0c9.tar.xz
Tweak a few things for better page fault debugging.
src/sim/faults.cc: Fix fault message. src/kern/tru64/tru64.hh: Add DPRINTF to see where new thread stacks are allocated. src/arch/alpha/faults.cc: Add print statement so we know what the faulting address is in SE mode. --HG-- extra : convert_revision : 6eb2b513c339496a0d013b7e914953a0a066c12d
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/faults.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/faults.cc b/src/sim/faults.cc
index 650b728f7..cea35482a 100644
--- a/src/sim/faults.cc
+++ b/src/sim/faults.cc
@@ -37,7 +37,7 @@
#if !FULL_SYSTEM
void FaultBase::invoke(ThreadContext * tc)
{
- fatal("fault (%s) detected @ PC 0x%08p", name(), tc->readPC());
+ fatal("fault (%s) detected @ PC %p", name(), tc->readPC());
}
#else
void FaultBase::invoke(ThreadContext * tc)