diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2657987116..fcc16cb15b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-02-04 Pedro Alves + + * boards/native-extended-gdbserver.exp: Remove any target variant + specifications from the board name before clearing the isremote + flag from board_info. + 2015-01-31 Doug Evans * gdb.base/maint.exp : Update expected output. diff --git a/gdb/testsuite/boards/native-extended-gdbserver.exp b/gdb/testsuite/boards/native-extended-gdbserver.exp index 57503db86b..8d299ef3f6 100644 --- a/gdb/testsuite/boards/native-extended-gdbserver.exp +++ b/gdb/testsuite/boards/native-extended-gdbserver.exp @@ -27,7 +27,9 @@ load_board_description "gdbserver-base" # matches localhost. Force it to be NOT remote. global board global board_info -set board_info($board,isremote) 0 +# Remove any target variant specifications from the name. +set baseboard [lindex [split $board "/"] 0] +set board_info($baseboard,isremote) 0 set_board_info sockethost "localhost:"