mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
sql/stacktrace.c
fixed frame depth since we now are a frame deeper on Alpha, use SP instead of FP
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user