From: Michael Snyder <msnyder@specifix.com>
To: wkf@sinavigator.com
Cc: gdb@sourceware.org
Subject: Re: Step outer function call
Date: Mon, 28 Jan 2008 22:36:00 -0000 [thread overview]
Message-ID: <1201559789.3263.196.camel@localhost.localdomain> (raw)
In-Reply-To: <479E3744.1050500@sinavigator.com>
On Mon, 2008-01-28 at 12:12 -0800, William K. Foster wrote:
> Hi,
>
> I don't know much about the debug formats, but it seems to me that since
> the debugger knows what line number it is on in the source code, it
> should be able to locate the last function call on that line number and
> enter it for this hypothetical command that many people seem to want.
>
> Am I missing something?
Yeah. GDB doesn't do that sort of thing, involving
basically disassembling the instructions and grokking
what they do.
Well it does, in some special and limited circumstances
when it can't be avoided, but not in general. And those
cases where it does it are very fragile and difficult to
maintain. In general we'd like to have gdb do that kind
of thing less, not more.
next prev parent reply other threads:[~2008-01-28 22:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 19:55 William K. Foster
2008-01-28 20:03 ` Marc Khouzam
2008-01-28 20:10 ` Daniel Jacobowitz
2008-01-28 20:13 ` William K. Foster
2008-01-28 20:20 ` Daniel Jacobowitz
2008-01-29 4:19 ` Eli Zaretskii
2008-01-29 6:44 ` Michael Snyder
2008-01-28 22:36 ` Michael Snyder [this message]
2008-01-28 23:00 ` Nick Roberts
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=1201559789.3263.196.camel@localhost.localdomain \
--to=msnyder@specifix.com \
--cc=gdb@sourceware.org \
--cc=wkf@sinavigator.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