WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Use -fno-omit-frame-pointer in addition to -g

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Use -fno-omit-frame-pointer in addition to -g
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Thu, 6 Mar 2008 15:55:09 +0000
Delivery-date: Thu, 06 Mar 2008 07:56:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
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@xxxxxxxxxxxxx>

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>