From: Lisa Hsu Date: Tue, 12 Jan 2010 18:17:19 +0000 (-0800) Subject: faults: i think these fault invocations should be panic and not fatal. it definitely... X-Git-Tag: stable_2012_02_02~1575^2~4^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=daebe18e897b3dc87f2e8b156ce03691c8b930c7;p=gem5.git faults: i think these fault invocations should be panic and not fatal. it definitely made implementing a trace cpu easier this way. --- 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