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?