* boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass

"--" to switch.
This commit is contained in:
Doug Evans 2013-07-24 21:59:30 +00:00
parent 25f9533e51
commit 7b79b135b2
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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"
}