filename | src/util.c |
changeset | 1148:8e75fab17be8 |
prev | 1092:7c4ffe27e7b5 |
next | 1239:be3121267597 |
author | nkeynes |
date | Wed Dec 08 18:33:23 2010 +1000 (13 years ago) |
permissions | -rw-r--r-- |
last change | Updated pt_BR translation from Arthonis |
file | annotate | diff | log | raw |
1.1 --- a/src/util.c Sun Dec 20 21:01:03 2009 +10001.2 +++ b/src/util.c Wed Dec 08 18:33:23 2010 +10001.3 @@ -44,7 +44,11 @@1.4 fprintf( stderr, "--- Aborting with signal %d ---\n", signo );1.5 sh4_crashdump();1.6 // Get gdb to print a nice backtrace for us1.7 +#ifdef APPLE_BUILD1.8 + snprintf( buf, 128, "echo bt | gdb --quiet --pid=%d", getpid() );1.9 +#else1.10 snprintf( buf, 128, "gdb -batch -f --quiet --pid=%d -ex bt", getpid() );1.11 +#endif1.12 system(buf);1.14 abort();
.