1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

sql/stacktrace.c

fixed frame depth since we now are a frame deeper 
    on Alpha, use SP instead of FP



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:
unknown
2001-05-14 14:11:26 -06:00
parent 258a55ff68
commit 7665a6f137

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)