From f6f5a33817ac1d406c8c2687e32493cbc38ef4e7 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 10 Sep 2008 13:21:50 +0200 Subject: Feed dwarf unwinder data through _stp_mod_sec_lookup (), but disabled for now. --- runtime/runtime.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'runtime/runtime.h') diff --git a/runtime/runtime.h b/runtime/runtime.h index fd0cac9e..52d689a3 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -73,8 +73,10 @@ static struct #endif #endif -/* dwarf unwinder only tested so far on i386 and x86_64 */ -#if !defined(STP_USE_FRAME_BUFFER) && (defined(__i386__) || defined(__x86_64__)) +/* dwarf unwinder only tested so far on i386 and x86_64, + but globally disabled for now */ +#if 0 +// !defined(STP_USE_FRAME_BUFFER) && (defined(__i386__) || defined(__x86_64__)) #define STP_USE_DWARF_UNWINDER #endif -- cgit 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/runtime.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/runtime.h') 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 From da4c496a55b73e2a768d3b1c6cee44b43144bcc8 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 10 Sep 2008 17:18:41 -0400 Subject: backtrace fix for i386 with neither frame pointers nor dwarf unwinding --- runtime/runtime.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'runtime/runtime.h') diff --git a/runtime/runtime.h b/runtime/runtime.h index db793aa5..cd3d0b11 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -69,15 +69,13 @@ 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 */ -#if 0 +#if 0 // !defined(STP_USE_FRAME_BUFFER) && (defined(__i386__) || defined(__x86_64__)) #define STP_USE_DWARF_UNWINDER #endif -- cgit