summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2008-09-10 15:17:52 +0200
committerMark Wielaard <mjw@redhat.com>2008-09-10 15:17:52 +0200
commite0c72583f8fb7a61d052c58b8e9c6df0925bc234 (patch)
tree8ce7117aedfc6fa04573d3ff9f5b8c574207a12b /runtime/runtime.h
parent6b2fda5424fb9aaeabe5056fc1e7286f6c8a034a (diff)
downloadsystemtap-steved-e0c72583f8fb7a61d052c58b8e9c6df0925bc234.tar.gz
systemtap-steved-e0c72583f8fb7a61d052c58b8e9c6df0925bc234.tar.xz
systemtap-steved-e0c72583f8fb7a61d052c58b8e9c6df0925bc234.zip
Enable usage of STP_USE_DWARF_UNWINDER for i386 and arm for debugging purposes.
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h2
1 files changed, 2 insertions, 0 deletions
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 */