From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: drow@false.org
Cc: vincent.degroote@encelade.com, gdb@sourceware.org
Subject: Re: Nexted function context
Date: Tue, 30 Jan 2007 12:28:00 -0000 [thread overview]
Message-ID: <200701301228.l0UCSIAx027773@brahms.sibelius.xs4all.nl> (raw)
In-Reply-To: <20070130121300.GA17458@nevyn.them.org> (message from Daniel Jacobowitz on Tue, 30 Jan 2007 07:13:01 -0500)
> Date: Tue, 30 Jan 2007 07:13:01 -0500
> From: Daniel Jacobowitz <drow@false.org>
>
> On Tue, Jan 30, 2007 at 08:53:13AM +0000, Vincent De Groote wrote:
> > Hello,
> >
> > I'm using gdb on c files compiled with gcc. I use a lot of nested function
> > calls.
> > When the program makes a core dump in a nested function, I can't see the
> > local variables (No symbol in local context).
> >
> > I have the same problem if I single step within a running program.
>
> Can you provide a small test case for this problem?
I vaguely remember that GCC emitted incorrect debug information for
nested function calls, and that it would be hard to fix.
Mark
next prev parent reply other threads:[~2007-01-30 12:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-30 8:51 Vincent De Groote
2007-01-30 12:13 ` Daniel Jacobowitz
2007-01-30 12:28 ` Mark Kettenis [this message]
2007-01-30 12:48 ` Vincent De Groote
2007-01-30 13:11 ` Daniel Jacobowitz
2007-01-30 13:39 ` Vincent De Groote
2007-01-30 13:42 ` Daniel Jacobowitz
2007-01-30 15:45 ` Vincent De Groote
2007-01-30 16:17 ` Daniel Jacobowitz
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=200701301228.l0UCSIAx027773@brahms.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=drow@false.org \
--cc=gdb@sourceware.org \
--cc=vincent.degroote@encelade.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox