17 lines
891 B
Diff
17 lines
891 B
Diff
|
diff -Nru lash-0.6.0.594.orig/lashd/sigsegv.c lash-0.6.0.594/lashd/sigsegv.c
|
||
|
--- lash-0.6.0.594.orig/lashd/sigsegv.c 2008-09-07 00:19:51.000000000 +0200
|
||
|
+++ lash-0.6.0.594/lashd/sigsegv.c 2013-03-05 12:05:42.376925531 +0100
|
||
|
@@ -90,10 +90,10 @@
|
||
|
lash_error("info.si_errno = %d", info->si_errno);
|
||
|
lash_error("info.si_code = %d (%s)", info->si_code, si_codes[info->si_code]);
|
||
|
lash_error("info.si_addr = %p", info->si_addr);
|
||
|
- for(i = 0; i < NGREG; i++)
|
||
|
- lash_error("reg[%02d] = 0x" REGFORMAT, i, ucontext->uc_mcontext.gregs[i]);
|
||
|
|
||
|
#if defined(SIGSEGV_STACK_X86) || defined(SIGSEGV_STACK_IA64)
|
||
|
+ for(i = 0; i < NGREG; i++)
|
||
|
+ lash_error("reg[%02d] = 0x" REGFORMAT, i, ucontext->uc_mcontext.gregs[i]);
|
||
|
# if defined(SIGSEGV_STACK_IA64)
|
||
|
ip = (void*)ucontext->uc_mcontext.gregs[REG_RIP];
|
||
|
bp = (void**)ucontext->uc_mcontext.gregs[REG_RBP];
|