projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f4e6fc
)
faults: i think these fault invocations should be panic and not fatal. it definitely...
author
Lisa Hsu
<Lisa.Hsu@amd.com>
Tue, 12 Jan 2010 18:17:19 +0000
(10:17 -0800)
committer
Lisa Hsu
<Lisa.Hsu@amd.com>
Tue, 12 Jan 2010 18:17:19 +0000
(10:17 -0800)
src/sim/faults.cc
patch
|
blob
|
history
diff --git
a/src/sim/faults.cc
b/src/sim/faults.cc
index 0fe85378516f0b0a2880c196d7ffd73fe2264d2e..6149a8335c1dd564d1a70dc8e07c82622464a32b 100644
(file)
--- 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