aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-07-24 21:59:30 +0000
committerDoug Evans <dje@google.com>2013-07-24 21:59:30 +0000
commit7b79b135b2faa8accc1343840fc3e60fdc7d931b (patch)
treec08462db45d94992605ef302d3826dfc25498a68 /gdb
parent25f9533e5145c7d1f41649536b710e12f3a1fcd9 (diff)
downloadgdb-7b79b135b2faa8accc1343840fc3e60fdc7d931b.zip
gdb-7b79b135b2faa8accc1343840fc3e60fdc7d931b.tar.gz
gdb-7b79b135b2faa8accc1343840fc3e60fdc7d931b.tar.bz2
* boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
"--" to switch.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/boards/native-stdio-gdbserver.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index e35711b..1df1669 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-24 Doug Evans <dje@google.com>
+
+ * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
+ "--" to switch.
+
2013-07-24 Yao Qi <yao@codesourcery.com>
* gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
diff --git a/gdb/testsuite/boards/native-stdio-gdbserver.exp b/gdb/testsuite/boards/native-stdio-gdbserver.exp
index 65183ba..3b99909 100644
--- a/gdb/testsuite/boards/native-stdio-gdbserver.exp
+++ b/gdb/testsuite/boards/native-stdio-gdbserver.exp
@@ -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"
}