summaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-02-22 15:48:43 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-02-22 15:48:43 +0000
commit5147f5aac0e725ce73ee04d0f1ca39284acf456c (patch)
tree394fc92a6c7c78f0fb686d043da7c174cfe33ae7 /linux-user
parent766a487abf4c006b8f1e2b997c0b39b8646e898b (diff)
downloadqemu-5147f5aac0e725ce73ee04d0f1ca39284acf456c.zip
added NO_TRACE_MSGS ifdef
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@10 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 09e22fef29..544953eb25 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -297,10 +297,12 @@ int main(int argc, char **argv)
default:
trap_error:
fprintf(stderr, "GEMU: Unknown error %d, aborting\n", err);
+#ifndef NO_TRACE_MSGS
d_emu = 9;
fprintf(stderr, "%s\n%s\n",
e_print_cpuemu_regs(env, 1),
e_emu_disasm(env,pc,1));
+#endif
abort();
}
}