All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Use -fno-omit-frame-pointer in addition to -g
@ 2008-03-06 15:55 Samuel Thibault
  2008-03-06 16:01 ` [PATCH2] Don't optimize function calls with -g Samuel Thibault
  0 siblings, 1 reply; 5+ messages in thread
From: Samuel Thibault @ 2008-03-06 15:55 UTC (permalink / raw)
  To: xen-devel

Use -fno-omit-frame-pointer in addition to -g
as that permits to use simple stack walk while debugging

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>

diff -r fb74347d80c3 Config.mk
--- a/Config.mk	Wed Mar 05 12:20:40 2008 +0000
+++ b/Config.mk	Thu Mar 06 15:52:14 2008 +0000
@@ -55,7 +55,7 @@ endef
 endef
 
 ifeq ($(debug),y)
-CFLAGS += -g
+CFLAGS += -g -fno-omit-frame-pointer
 endif
 
 CFLAGS += -fno-strict-aliasing
diff -r fb74347d80c3 extras/mini-os/minios.mk
--- a/extras/mini-os/minios.mk	Wed Mar 05 12:20:40 2008 +0000
+++ b/extras/mini-os/minios.mk	Thu Mar 06 15:52:14 2008 +0000
@@ -15,7 +15,7 @@ DEF_LDFLAGS =
 DEF_LDFLAGS =
 
 ifeq ($(debug),y)
-DEF_CFLAGS += -g
+DEF_CFLAGS += -g -fno-omit-frame-pointer
 else
 DEF_CFLAGS += -O3
 endif

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-07 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06 15:55 [PATCH] Use -fno-omit-frame-pointer in addition to -g Samuel Thibault
2008-03-06 16:01 ` [PATCH2] Don't optimize function calls with -g Samuel Thibault
2008-03-07 13:36   ` Keir Fraser
2008-03-07 14:21     ` Samuel Thibault
2008-03-07 14:58     ` [PATCH3] " Samuel Thibault

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.