public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb@sourceware.org
Subject: Re: Specify frame by address
Date: Tue, 01 Nov 2011 18:58:00 -0000	[thread overview]
Message-ID: <m3ty6n1xgr.fsf@fleche.redhat.com> (raw)
In-Reply-To: <83k47n90xn.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Oct	2011 19:12:36 +0200")

>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

Eli> The context of this is that I would like to write a command that
Eli> automatically goes to a frame within a call to a specific function,
Eli> because that command needs to access variables local to that function.

If you use "gdb --dbx" then the "func" command will select a frame given
the name of the function.

I wouldn't be averse to giving this command a different name and making
it always available.  We'll probably do something like this, maybe more
DWIMy though, as part of the frame filter project, like a generalized
"upto" for those who remember from the archer list.

Tom

  parent reply	other threads:[~2011-11-01 18:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-29 17:47 Eli Zaretskii
2011-10-29 18:03 ` Jan Kratochvil
2011-10-29 18:04   ` Eli Zaretskii
2011-10-29 18:48     ` Mark Kettenis
2011-10-29 20:46       ` Jan Kratochvil
2011-10-30 13:21         ` Mark Kettenis
2011-11-02  9:14           ` Yao Qi
2011-10-30  6:39       ` Eli Zaretskii
2011-10-29 18:43 ` Andreas Schwab
2011-10-29 20:49   ` Eli Zaretskii
2011-11-01 18:58 ` Tom Tromey [this message]
2011-11-01 19:23   ` Eli Zaretskii

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=m3ty6n1xgr.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=eliz@gnu.org \
    --cc=gdb@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).