Commit 5147f5aac0e725ce73ee04d0f1ca39284acf456c

Authored by bellard
1 parent 766a487a

added NO_TRACE_MSGS ifdef


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@10 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 0 deletions
linux-user/main.c
... ... @@ -297,10 +297,12 @@ int main(int argc, char **argv)
297 297 default:
298 298 trap_error:
299 299 fprintf(stderr, "GEMU: Unknown error %d, aborting\n", err);
  300 +#ifndef NO_TRACE_MSGS
300 301 d_emu = 9;
301 302 fprintf(stderr, "%s\n%s\n",
302 303 e_print_cpuemu_regs(env, 1),
303 304 e_emu_disasm(env,pc,1));
  305 +#endif
304 306 abort();
305 307 }
306 308 }
... ...