changeset 21f032e2ee9b in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=21f032e2ee9b
description:
Syscalls: Fix a warning turned error about an unused variable in
m5.fast.
diffstat:
1 file changed, 2 insertions(+)
src/sim/syscall_emul.cc | 2 ++
diffs (13 lines):
diff -r 4842482e1bd1 -r 21f032e2ee9b src/sim/syscall_emul.cc
--- a/src/sim/syscall_emul.cc Fri Oct 30 00:44:55 2009 -0700
+++ b/src/sim/syscall_emul.cc Sat Oct 31 13:20:22 2009 -0700
@@ -52,7 +52,9 @@
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,
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev