linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ricardo Catalinas Jimenez <th1nk3r@server01.org>
To: linux-c-programming@vger.kernel.org
Subject: -fomit-frame-pointer + -g
Date: Sun, 10 Oct 2004 13:07:17 +0200	[thread overview]
Message-ID: <20041010110717.GA3207@jehuty.server01.org> (raw)

hi everybody,

my system is configures with the CHOST, CFLAGS & CXXFLAGS to use the useful
'-fomit-frame-pointer' flag. But when I want to debug one of my binaries, I
add manualy to the compilation process the '-g' flag.

My computer is an ia32 where the '-fomit-frame-pointer' is incompatible for
debuging.


I looked on the web but I didn't find if when I use both options what happend.

So when I do: gcc -o test test.c -g -fomit-frame-pointer

What happend, can I debug correctly?

If not, what I have to do? Should I disable the '-fomit-frame-pointer'
manually every time I want to debug?

Thanks in advande.
-- 
Ricardo Catalinas Jimenez    Madrid, Spain.
th1nk3r(at)server01(dot)org  citizen01@jabber.org 
My gpg public key at: http://www.server01.org/pubkey

             reply	other threads:[~2004-10-10 11:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-10 11:07 Ricardo Catalinas Jimenez [this message]
2004-10-10 11:15 ` -fomit-frame-pointer + -g Jan-Benedict Glaw
2004-10-10 16:09   ` Ricardo Catalinas Jimenez
2004-10-10 22:55     ` Is there any function to delete lines from a text file Edward Parrilla
2004-10-11  5:31       ` Jan-Benedict Glaw

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=20041010110717.GA3207@jehuty.server01.org \
    --to=th1nk3r@server01.org \
    --cc=linux-c-programming@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).