From 7b79b135b2faa8accc1343840fc3e60fdc7d931b Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 24 Jul 2013 21:59:30 +0000 Subject: [PATCH] * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass "--" to switch. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/boards/native-stdio-gdbserver.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass + "--" to switch. + 2013-07-24 Yao Qi * 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" } -- 2.7.4