public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* How can I use shell variable at gdb
@ 2007-12-15  4:12 Brandon Kim
  0 siblings, 0 replies; only message in thread
From: Brandon Kim @ 2007-12-15  4:12 UTC (permalink / raw)
  To: gdb

I would like to use shell variable at gdb.
How can I do that?

for example.

$) CURRENT_NO=5
$) export ABC

gdb) set $NAME = "TEST_$(CURRENT_NO)"

But, I got an error.

anybody knows?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-15  4:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-15  4:12 How can I use shell variable at gdb Brandon Kim

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).