1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

restored run-time thread lib detection

sql/stacktrace.c:
  removed code duplication
sql/stacktrace.h:
  removed code duplication
This commit is contained in:
unknown
2007-03-28 15:33:29 +02:00
parent 143151229f
commit f8eed3c1ce
8 changed files with 81 additions and 64 deletions

View File

@ -27,11 +27,9 @@ extern char* heap_start;
#define init_stacktrace() do { \
heap_start = (char*) &__bss_start; \
check_thread_lib(); \
} while(0);
void print_stacktrace(gptr stack_bottom, ulong thread_stack);
void safe_print_str(const char* name, const char* val, int max_len);
void check_thread_lib(void);
#endif /* (defined (__i386__) || (defined(__alpha__) && defined(__GNUC__))) */
#endif /* TARGET_OS_LINUX */