it makes more sense to dump the crash dump header to stderr

This commit is contained in:
gbeauche 2005-03-17 23:40:01 +00:00
parent 016b58007a
commit 287296b363

View File

@ -796,9 +796,9 @@ sigsegv_return_t sigsegv_handler(sigsegv_address_t fault_address, sigsegv_addres
#error "FIXME: You don't have the capability to skip instruction within signal handlers"
#endif
printf("SIGSEGV\n");
printf(" pc %p\n", fault_instruction);
printf(" ea %p\n", fault_address);
fprintf(stderr, "SIGSEGV\n");
fprintf(stderr, " pc %p\n", fault_instruction);
fprintf(stderr, " ea %p\n", fault_address);
dump_registers();
ppc_cpu->dump_log();
enter_mon();