This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] native-stdio-gdbserver.exp: pass "--" to switch
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 25 Jul 2013 09:37:03 +0200
- Subject: Re: [commit] native-stdio-gdbserver.exp: pass "--" to switch
- References: <yjt2ehanmxcy dot fsf at ruffy dot mtv dot corp dot google dot com>
Doug Evans <dje@google.com> writes:
> It's odd that some Tcls don't complain, or I would have noticed this sooner.
The last sentence applies:
-- Marks the end of options. The argument following this one
will be treated as string even if it starts with a -. This â
is not required when the matching patterns and bodies are â
grouped together in a single argument.
That is a recent (tcl8.5) addition.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."