From dde3199641447b2dcd927c0fa8e9d967799f1dac Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 22 Oct 2004 21:08:43 +0000 Subject: Update. * debug/execinfo.h: Remove __THROW from backtrace prototype. 2004-10-22 Jakub Jelinek * sysdeps/i386/Makefile (CFLAGS-backtrace.c): Add -fexceptions. * sysdeps/i386/backtrace.c: Include , , and . Remove 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 --- sysdeps/i386/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps/i386/Makefile') diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile index fb14806029..52faaa3109 100644 --- a/sysdeps/i386/Makefile +++ b/sysdeps/i386/Makefile @@ -21,6 +21,10 @@ CFLAGS-dl-load.c += -Wno-unused CFLAGS-dl-reloc.c += -Wno-unused endif +ifeq ($(subdir),debug) +CFLAGS-backtrace.c += -fexceptions +endif + # Most of the glibc routines don't ever call user defined callbacks # nor use any FPU or SSE* and as such don't need bigger %esp alignment # than 4 bytes. -- cgit v1.2.3