This is the mail archive of the gdb-patches@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]

Re: [commit] native-stdio-gdbserver.exp: pass "--" to switch


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


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