Fix '--target_board=native-extended-gdbserver/-m32'
authorPedro Alves <palves@redhat.com>
Wed, 4 Feb 2015 13:53:24 +0000 (14:53 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 4 Feb 2015 13:53:24 +0000 (14:53 +0100)
commit42d9e5288b6576b56f3f803901433b88ee863bc6
treebace26533b18a08d1e4b07d2a8ae3b73b92165e7
parentf962539ad23759af4ba8f7eece1946fdc2f50876
Fix '--target_board=native-extended-gdbserver/-m32'

Running the testsuite with the native-extended-gdbserver.exp board and
passing a variant spec, like

  make check RUNTESTFLAGS="--target_board=native-extended-gdbserver/-m32"

results in dejagnu trying to open a rsh connection to
"native-extended-gdbserver", which of course is wrong.  The point of
this board is running things locally.

The issue is that the native-extended-gdbserver board does not clear
the "isremote" flag properly.

Reported by Sergio at:
  https://sourceware.org/ml/gdb-patches/2015-02/msg00067.html

testsuite/
2015-02-04  Pedro Alves  <palves@redhat.com>

* boards/native-extended-gdbserver.exp: Remove any target variant
specifications from the board name before clearing the isremote
flag from board_info.
gdb/testsuite/ChangeLog
gdb/testsuite/boards/native-extended-gdbserver.exp