projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f722b9
)
Syscalls: Fix a warning turned error about an unused variable in m5.fast.
author
Gabe Black
<gblack@eecs.umich.edu>
Sat, 31 Oct 2009 20:20:22 +0000
(13:20 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Sat, 31 Oct 2009 20:20:22 +0000
(13:20 -0700)
src/sim/syscall_emul.cc
patch
|
blob
|
history
diff --git
a/src/sim/syscall_emul.cc
b/src/sim/syscall_emul.cc
index d25f7b9fa10444119be1b367cf3b0dd2c9abd79c..fae3586a40ef7e5f66019a8a857e4cadccd37e6e 100644
(file)
--- a/
src/sim/syscall_emul.cc
+++ b/
src/sim/syscall_emul.cc
@@
-52,7
+52,9
@@
using namespace TheISA;
void
SyscallDesc::doSyscall(int callnum, LiveProcess *process, ThreadContext *tc)
{
+#if TRACING_ON
int index = 0;
+#endif
DPRINTFR(SyscallVerbose,
"%d: %s: syscall %s called w/arguments %d,%d,%d,%d\n",
curTick, tc->getCpuPtr()->name(), name,