From e0c72583f8fb7a61d052c58b8e9c6df0925bc234 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 10 Sep 2008 15:17:52 +0200 Subject: Enable usage of STP_USE_DWARF_UNWINDER for i386 and arm for debugging purposes. --- runtime/ChangeLog | 5 +++++ runtime/runtime.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/runtime/ChangeLog b/runtime/ChangeLog index d794b4a1..6ff15b8a 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -1,3 +1,8 @@ +2008-09-10 Mark Wielaard + + * runtime.h (CONFIG_FRAME_POINTER): Don't enable when + STP_USE_DWARF_UNWINDER is already defined. + 2008-09-10 Mark Wielaard * sym.h (_stp_module): Add module_base field. diff --git a/runtime/runtime.h b/runtime/runtime.h index 52d689a3..db793aa5 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -68,10 +68,12 @@ static struct #ifdef CONFIG_FRAME_POINTER /* Just because frame pointers are available does not mean we can trust them. */ +#ifndef STP_USE_DWARF_UNWINDER #if defined (__i386__) || defined (__arm__) #define STP_USE_FRAME_POINTER #endif #endif +#endif /* dwarf unwinder only tested so far on i386 and x86_64, but globally disabled for now */ -- cgit