summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-11-27 14:39:52 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-11-27 14:39:52 +0100
commit6af53cb9d48013971ad5fa37de173c1bbf73292a (patch)
tree36042434c3bfb65de55be2308c4a282c68c5f014
parent586d866ec61ad927a42e01f92883b7b0e0419eb6 (diff)
Keep frame pointer when debugger is enabled
* Makefrag.am (AM_CFLAGS) [enable_kdb]: Add -fno-omit-frame-pointer.
-rw-r--r--Makefrag.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefrag.am b/Makefrag.am
index 5d22504..a80cd24 100644
--- a/Makefrag.am
+++ b/Makefrag.am
@@ -62,6 +62,9 @@ libkernel_a_SOURCES += \
ddb/nlist.h \
ddb/stab.h \
ddb/tr.h
+
+# We need frame pointers for trace to work properly.
+AM_CFLAGS += -fno-omit-frame-pointer
endif