Fix gdb.python/py-evthreads.exp with --target_board=native-extended-gdbserver
authorPedro Alves <palves@redhat.com>
Fri, 13 Oct 2017 12:15:04 +0000 (13:15 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 13 Oct 2017 12:15:04 +0000 (13:15 +0100)
commit42f1b1617e4f8c8f485318897c5154cbff58eeb0
tree45642c52c1b71673b6c620936985fde149a76c39
parent8d6ef72b0470dfb1133525c8c4556d3578744ac4
Fix gdb.python/py-evthreads.exp with --target_board=native-extended-gdbserver

Fixes:
  Running ..../src/gdb/testsuite/gdb.python/py-evthreads.exp ...
  FAIL: gdb.python/py-evthreads.exp: run to breakpoint 1
  FAIL: gdb.python/py-evthreads.exp: reached breakpoint 2
  FAIL: gdb.python/py-evthreads.exp: thread 2
  FAIL: gdb.python/py-evthreads.exp: reached breakpoint 3
  FAIL: gdb.python/py-evthreads.exp: thread 3
  FAIL: gdb.python/py-evthreads.exp: continue thread 1
  [... cascading time outs ...]

By following the usual pattern that makes sure that non-stop is enabled
before connecting to gdbserver.

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

* gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
already.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-evthreads.exp