diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-10-31 13:20:22 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-10-31 13:20:22 -0700 |
commit | d6ff7929b30cde7bce1b3f3be89e1ef6eda82a2d (patch) | |
tree | 08b92db5b5759279e5fe9c1a0fc51aa772dc452a | |
parent | 3f722b991fcb33ca21330501960406a8a58e2be2 (diff) | |
download | gem5-d6ff7929b30cde7bce1b3f3be89e1ef6eda82a2d.tar.xz |
Syscalls: Fix a warning turned error about an unused variable in m5.fast.
-rw-r--r-- | src/sim/syscall_emul.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/syscall_emul.cc b/src/sim/syscall_emul.cc index d25f7b9fa..fae3586a4 100644 --- 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, |