From: Michael Snyder <msnyder@specifix.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: Yakov Lerner <iler.ml@gmail.com>, gdb@sourceware.org
Subject: Re: substitute gdb convenience variable into gdb command
Date: Tue, 12 Feb 2008 22:09:00 -0000 [thread overview]
Message-ID: <1202854134.19253.103.camel@localhost.localdomain> (raw)
In-Reply-To: <20080212160327.GA13985@caradoc.them.org>
On Tue, 2008-02-12 at 11:03 -0500, Daniel Jacobowitz wrote:
> On Tue, Feb 12, 2008 at 05:54:33PM +0200, Yakov Lerner wrote:
> > How do I substitute value of gdb convenience variable into gdb command ?
>
> Sorry, there's no way to do this.
It's really dependent on the command. Command arguments
come in as a string, and each command has to parse them.
It's just that in this particular case, the command tries
to parse the string by using strtol. Nicer commands use
one of gdb's built-in parsing functions, which take into
account things like expressions and convenience variables.
next prev parent reply other threads:[~2008-02-12 22:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-12 15:54 Yakov Lerner
2008-02-12 16:03 ` Daniel Jacobowitz
2008-02-12 22:09 ` Michael Snyder [this message]
2008-02-12 19:41 ` Michael Snyder
2008-02-12 19:56 ` Daniel Jacobowitz
2008-02-12 22:17 ` Michael Snyder
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=1202854134.19253.103.camel@localhost.localdomain \
--to=msnyder@specifix.com \
--cc=drow@false.org \
--cc=gdb@sourceware.org \
--cc=iler.ml@gmail.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