From: Doug Evans Date: Wed, 24 Jul 2013 21:59:30 +0000 (+0000) Subject: * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b79b135b2faa8accc1343840fc3e60fdc7d931b;p=binutils-gdb.git * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass "--" to switch. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e35711b1a7f..1df1669f2e2 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 65183bad0f5..3b99909527a 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" }