added NO_TRACE_MSGS ifdef

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@10 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2003-02-22 15:48:43 +00:00
parent 766a487abf
commit 5147f5aac0

View File

@ -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();
}
}