btrace, testsuite: fix extended-remote fail
authorMarkus Metzger <markus.t.metzger@intel.com>
Thu, 26 Jan 2017 14:07:44 +0000 (15:07 +0100)
committerMarkus Metzger <markus.t.metzger@intel.com>
Wed, 1 Feb 2017 13:41:18 +0000 (14:41 +0100)
commit68777c298919d6dbdb9537c92a64ed9440ef6f3c
treeea0bfb51a4c44dfd9831c9393b01eca2c567aa23
parent0a1c7e2881226bb9734d7c31c9415c636f35921d
btrace, testsuite: fix extended-remote fail

Parts of gdb.btrace/enable.exp are only valid for native debug.  The check for
skip_gdbserver_tests is done while GDB is running, though, which causes it to
fail with --target_board=native-extended-gdbserver.  Exit GDB before that check.

testsuite/
* gdb.btrace/enable.exp: Call gdb_exit before skip_gdbserver_tests.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.btrace/enable.exp