This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
convenience variables in "target remote"
- From: Vladimir Prus <ghost at cs dot msu dot su>
- To: gdb at sources dot redhat dot com
- Date: Thu, 10 Nov 2005 13:29:46 +0300
- Subject: convenience variables in "target remote"
Hi,
it looks like "target remote" command does not handle convenience variables
properly:
(gdb) set $var=1234
(gdb) target remote :$var
:$var: Connection refused.
(gdb) target remote :1234
Remote debugging using :1234
When $var is used, it's not expanded, at gdb tries to connect to the wrong
port?
Is this by design, or a bug?
- Volodya