diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-05-14 14:11:26 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-05-14 14:11:26 -0600 |
commit | 7665a6f1370cf989e92a916d91995295cfec2b69 (patch) | |
tree | 36c7a9ea80e0af3e121bdd278f11b323f1e1bd9b | |
parent | 258a55ff6884b85e06714090947bdb53160811b9 (diff) | |
download | mariadb-git-7665a6f1370cf989e92a916d91995295cfec2b69.tar.gz |
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
-rw-r--r-- | sql/stacktrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/stacktrace.c b/sql/stacktrace.c index ba5bc9d2e85..ab1113f74cf 100644 --- a/sql/stacktrace.c +++ b/sql/stacktrace.c @@ -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) |