diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-11-27 14:39:52 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-11-27 14:39:52 +0100 |
commit | 6af53cb9d48013971ad5fa37de173c1bbf73292a (patch) | |
tree | 36042434c3bfb65de55be2308c4a282c68c5f014 | |
parent | 586d866ec61ad927a42e01f92883b7b0e0419eb6 (diff) |
Keep frame pointer when debugger is enabled
* Makefrag.am (AM_CFLAGS) [enable_kdb]: Add -fno-omit-frame-pointer.
-rw-r--r-- | Makefrag.am | 3 |
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 |