From: Doug Evans <dje@google.com>
To: gdb-patches@sourceware.org
Subject: [commit] native-stdio-gdbserver.exp: pass "--" to switch
Date: Wed, 24 Jul 2013 22:01:00 -0000 [thread overview]
Message-ID: <yjt2ehanmxcy.fsf@ruffy.mtv.corp.google.com> (raw)
Hi.
It's odd that some Tcls don't complain, or I would have noticed this sooner.
Tested on amd64-linux and committed.
2013-07-24 Doug Evans <dje@google.com>
* boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
"--" to switch.
Index: boards/native-stdio-gdbserver.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/boards/native-stdio-gdbserver.exp,v
retrieving revision 1.8
diff -u -p -r1.8 native-stdio-gdbserver.exp
--- boards/native-stdio-gdbserver.exp 7 Jul 2013 08:52:39 -0000 1.8
+++ boards/native-stdio-gdbserver.exp 24 Jul 2013 21:54:46 -0000
@@ -60,7 +60,7 @@ proc ${board}_build_remote_cmd { cmd } {
for { set i 1 } { $i < $len } { incr i } {
set elm [lindex $cmd $i]
- switch $elm {
+ switch -- $elm {
--multi {
set args "$args $elm"
}
next reply other threads:[~2013-07-24 22:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-24 22:01 Doug Evans [this message]
2013-07-25 7:37 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yjt2ehanmxcy.fsf@ruffy.mtv.corp.google.com \
--to=dje@google.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox