move ip down as well

This commit is contained in:
Isaac Connor 2016-04-26 16:05:37 -04:00
parent 5d88acb8a6
commit 69d5065ebf
1 changed files with 1 additions and 1 deletions

View File

@ -49,9 +49,9 @@ RETSIGTYPE zm_die_handler(int signal)
{ {
Error("Got signal %d (%s), crashing", signal, strsignal(signal)); Error("Got signal %d (%s), crashing", signal, strsignal(signal));
#if (defined(__i386__) || defined(__x86_64__)) #if (defined(__i386__) || defined(__x86_64__))
void *ip = 0;
// Get more information if available // Get more information if available
#if ( HAVE_SIGINFO_T && HAVE_UCONTEXT_T ) #if ( HAVE_SIGINFO_T && HAVE_UCONTEXT_T )
void *ip = 0;
void *cr2 = 0; void *cr2 = 0;
if (info && context) { if (info && context) {