diff options
author | Korey Sewell <ksewell@umich.edu> | 2007-11-15 16:38:09 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2007-11-15 16:38:09 -0500 |
commit | 8f8e7fe08edcc40f57edd5b3dd2a629394e624a2 (patch) | |
tree | 20d3a12503a186f6852a855f5d1da788904b3cae /src/sim | |
parent | 3fd291bc4ec0934f51137f1ba1f253f7093c2d88 (diff) | |
download | gem5-8f8e7fe08edcc40f57edd5b3dd2a629394e624a2.tar.xz |
put the flattenIndex stuff back in O3 AND put fatal() back in faults
--HG--
extra : convert_revision : 16fb8d7f3fbc5f8f1fc3ed34427c3d90a3125ad0
Diffstat (limited to 'src/sim')
-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 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 |