summaryrefslogtreecommitdiff
path: root/src/sim/faults.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/faults.cc')
-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 6149a8335..0fe853785 100644
--- a/src/sim/faults.cc
+++ b/src/sim/faults.cc
@@ -40,7 +40,7 @@
#if !FULL_SYSTEM
void FaultBase::invoke(ThreadContext * tc)
{
- panic("fault (%s) detected @ PC %p", name(), tc->readPC());
+ fatal("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)
{
- panic("Unimpfault: %s\n", panicStr.c_str());
+ fatal("Unimpfault: %s\n", panicStr.c_str());
}
#if !FULL_SYSTEM