1
0
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:
sasha@mysql.sashanet.com
2001-05-14 14:11:26 -06:00
parent 0f24c9fcee
commit a37c82a5cf

View File

@ -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)