How can I use shell variable at gdb

Brandon Kim brandonh.kim@gmail.com
Sat Dec 15 04:12:00 GMT 2007


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?



More information about the Gdb mailing list