diff options
author | Lisa Hsu <Lisa.Hsu@amd.com> | 2010-01-12 10:17:19 -0800 |
---|---|---|
committer | Lisa Hsu <Lisa.Hsu@amd.com> | 2010-01-12 10:17:19 -0800 |
commit | daebe18e897b3dc87f2e8b156ce03691c8b930c7 (patch) | |
tree | 7712d9ef2a3204dcde410546bcebe7b2cbe356e3 | |
parent | 4f4e6fc099349cf34e9ac4cfae4211379a4a030f (diff) | |
download | gem5-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.
-rw-r--r-- | src/sim/faults.cc | 4 |
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 |