summaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-22 21:08:43 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-22 21:08:43 +0000
commitdde3199641447b2dcd927c0fa8e9d967799f1dac (patch)
tree57642fddb78cb51bef94913162554c5773cd1a30 /debug
parent7d902c229839742d1c3f36c3344d4f8f33235586 (diff)
Update.
* debug/execinfo.h: Remove __THROW from backtrace prototype. 2004-10-22 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/Makefile (CFLAGS-backtrace.c): Add -fexceptions. * sysdeps/i386/backtrace.c: Include <bits/libc-lock.h>, <dlfcn.h>, <stdlib.h> and <unwind.h>. Remove <bp-checks.h> include. (struct trace_arg): New type. (unwind_backtrace, unwind_getip, unwind_getcfa, unwind_getgr): New fn pointers resp. macros. (init, backtrace_helper): New functions. (__backtrace): Rewritten to use _Unwind_Backtrace first and fall back to frame pointer walking. 2004-10-22 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'debug')
-rw-r--r--debug/execinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/execinfo.h b/debug/execinfo.h
index ff11c0c314..fa9927c71a 100644
--- a/debug/execinfo.h
+++ b/debug/execinfo.h
@@ -25,7 +25,7 @@ __BEGIN_DECLS
/* Store up to SIZE return address of the current program state in
ARRAY and return the exact number of values stored. */
-extern int backtrace (void **__array, int __size) __THROW __nonnull ((1));
+extern int backtrace (void **__array, int __size) __nonnull ((1));
/* Return names of functions from the backtrace list in ARRAY in a newly