public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* convenience variables in "target remote"
@ 2005-11-10 10:33 Vladimir Prus
  2005-11-10 13:43 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Prus @ 2005-11-10 10:33 UTC (permalink / raw)
  To: gdb


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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-10 19:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-10 10:33 convenience variables in "target remote" Vladimir Prus
2005-11-10 13:43 ` Daniel Jacobowitz
2005-11-10 14:03   ` Vladimir Prus
2005-11-10 16:17     ` Daniel Jacobowitz
2005-11-10 19:32     ` Eli Zaretskii

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