sql/stacktrace.c

    fixed frame depth since we now are a frame deeper 
    on Alpha, use SP instead of FP
parent 0f24c9fc
......@@ -43,7 +43,7 @@ void safe_print_str(const char* name, const char* val, int max_len)
}
#ifdef HAVE_LINUXTHREADS
#define SIGRETURN_FRAME_COUNT 1
#define SIGRETURN_FRAME_COUNT 2
#if defined(__alpha__) && defined(__GNUC__)
/*
......@@ -111,7 +111,7 @@ terribly wrong...\n");
}
#endif
#if defined(__alpha__) && defined(__GNUC__)
__asm __volatile__ ("mov $15,%0"
__asm __volatile__ ("mov $30,%0"
:"=r"(fp)
:"r"(fp));
if (!fp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment