From: Jack <jack9981@gmail.com>
To: gdb <gdb@sourceware.org>
Subject: Re: How to use variable in gdb?
Date: Sun, 04 Feb 2007 14:28:00 -0000 [thread overview]
Message-ID: <9875e6b70702040628w3936ef89oe66b9d5fcd2814f1@mail.gmail.com> (raw)
In-Reply-To: <20070204140544.GA8222@nevyn.them.org>
It would be execiting!
On 2/4/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Sun, Feb 04, 2007 at 06:06:01PM +0800, ?????? wrote:
> > Hello, I have problem with gdb program, can I define a variable like
> > shell script?
> > For example:
> >
> > xxx=/home/src/
> > yyy=/home/exe/
> >
> > file f
> > set args $xxx $yyy (So I can use variable here!)
>
> "set args" doesn't allow any variables - sorry. We've been talking
> about adding a full scripting language to GDB, which will make this
> easier.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
next prev parent reply other threads:[~2007-02-04 14:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-04 10:06 薛云龙
2007-02-04 14:05 ` Daniel Jacobowitz
2007-02-04 14:28 ` Jack [this message]
2007-02-04 15:55 ` Andreas Schwab
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=9875e6b70702040628w3936ef89oe66b9d5fcd2814f1@mail.gmail.com \
--to=jack9981@gmail.com \
--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