From: Michael Snyder <Michael.Snyder@palmsource.com>
To: Christophe Demarey <Christophe.Demarey@inria.fr>
Cc: gdb@sourceware.org
Subject: Re: test availability of variables in context from user command
Date: Sat, 24 Feb 2007 08:24:00 -0000 [thread overview]
Message-ID: <1172260120.9824.52.camel@localhost.localdomain> (raw)
In-Reply-To: <45DF0F48.60507@inria.fr>
On Fri, 2007-02-23 at 16:59 +0100, Christophe Demarey wrote:
> Hello,
>
> I want to check the availability of a variable (var1 for instance) in
> the context from an user command but I don't find any way to do this.
Just interjecting a thought -- it would be nice if gdb had a
"which" command. It could not only tell you whether an identifier
was in scope, but tell you WHICH scope it was in. Could be useful,
for instance, to tell you that a local was over-shadowing a global.
prev parent reply other threads:[~2007-02-23 19:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-23 17:37 Christophe Demarey
2007-02-23 18:16 ` Rob Quill
2007-02-23 19:56 ` Christophe Demarey
2007-02-23 19:50 ` Daniel Jacobowitz
2007-02-24 8:24 ` Michael Snyder [this message]
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=1172260120.9824.52.camel@localhost.localdomain \
--to=michael.snyder@palmsource.com \
--cc=Christophe.Demarey@inria.fr \
--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