summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLisa Hsu <Lisa.Hsu@amd.com>2010-01-12 10:17:19 -0800
committerLisa Hsu <Lisa.Hsu@amd.com>2010-01-12 10:17:19 -0800
commitdaebe18e897b3dc87f2e8b156ce03691c8b930c7 (patch)
tree7712d9ef2a3204dcde410546bcebe7b2cbe356e3 /src
parent4f4e6fc099349cf34e9ac4cfae4211379a4a030f (diff)
downloadgem5-daebe18e897b3dc87f2e8b156ce03691c8b930c7.tar.xz
faults: i think these fault invocations should be panic and not fatal. it definitely made implementing a trace cpu easier this way.
Diffstat (limited to 'src')
-rw-r--r--src/sim/faults.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/faults.cc b/src/sim/faults.cc
index 0fe853785..6149a8335 100644
--- a/src/sim/faults.cc
+++ b/src/sim/faults.cc
@@ -40,7 +40,7 @@
#if !FULL_SYSTEM
void FaultBase::invoke(ThreadContext * tc)
{
- fatal("fault (%s) detected @ PC %p", name(), tc->readPC());
+ panic("fault (%s) detected @ PC %p", name(), tc->readPC());
}
#else
void FaultBase::invoke(ThreadContext * tc)
@@ -54,7 +54,7 @@ void FaultBase::invoke(ThreadContext * tc)
void UnimpFault::invoke(ThreadContext * tc)
{
- fatal("Unimpfault: %s\n", panicStr.c_str());
+ panic("Unimpfault: %s\n", panicStr.c_str());
}
#if !FULL_SYSTEM