filename | src/util.c |
changeset | 1091:186558374345 |
prev | 1065:bc1cc0c54917 |
next | 1092:7c4ffe27e7b5 |
author | nkeynes |
date | Tue Dec 15 08:46:37 2009 +1000 (12 years ago) |
permissions | -rw-r--r-- |
last change | Add side-by-side x86+sh4 disassembly output Print SH4 state information and disassembly of the current block when crashing. Fix delay slot instruction in conditional branch not being marked as a delay-slot instruction in the branch-not-taken path. Rename REG_* defines in cpu.h to avoid conflict with translation defs |
file | annotate | diff | log | raw |
1.1 --- a/src/util.c Sun Jul 05 13:52:50 2009 +10001.2 +++ b/src/util.c Tue Dec 15 08:46:37 2009 +10001.3 @@ -42,6 +42,7 @@1.4 char buf[128];1.6 fprintf( stderr, "--- Aborting with signal %d ---\n", signo );1.7 + sh4_crashdump();1.8 // Get gdb to print a nice backtrace for us1.9 snprintf( buf, 128, "gdb -batch -f --quiet --pid=%d -ex bt", getpid() );1.10 system(buf);
.