This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]