Fix gdb.base/term.exp on non-"target native" boards
authorPedro Alves <palves@redhat.com>
Fri, 13 Oct 2017 12:38:24 +0000 (13:38 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 13 Oct 2017 12:41:44 +0000 (13:41 +0100)
commit7594f6236073fcc8696c43e1f5267e61f7d5c226
treea7b4274ad55a4529b3b067babf4865a6c0f9d3ad
parentebe3b40202042fc644df5ea3bd111425ba1aeeee
Fix gdb.base/term.exp on non-"target native" boards

With --target_board=native-extended-gdbserver, we get:

  Running .../src/gdb/testsuite/gdb.base/term.exp ...
  FAIL: gdb.base/term.exp: info terminal at breakpoint

  (gdb) info terminal
  No saved terminal information.

Fix it by running the test everywhere, and expecting different output
on non-native targets.

gdb/testsuite/ChangeLog:
2017-10-13  Pedro Alves  <palves@redhat.com>

* gdb.base/term.exp: Don't skip if is_remote target.  Instead,
expect different "info terminal" output if testing with a
non-native target.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/term.exp