All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] Use -fno-omit-frame-pointer in addition to -g
Date: Thu, 6 Mar 2008 15:55:09 +0000	[thread overview]
Message-ID: <20080306155509.GA10848@implementation.uk.xensource.com> (raw)

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

             reply	other threads:[~2008-03-06 15:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-06 15:55 Samuel Thibault [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080306155509.GA10848@implementation.uk.xensource.com \
    --to=samuel.thibault@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.