Fix gdb.server/server-exec-info.exp with the extended-remote board
authorPedro Alves <palves@redhat.com>
Tue, 28 Jul 2015 17:04:07 +0000 (18:04 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 28 Jul 2015 17:04:07 +0000 (18:04 +0100)
commitbde40b8f563dd682b9c6bcb8e24c3f5bd944a4f6
tree2edbf3e605d51904bfd07fc37ab95eba33d5983a
parent3ae385afe150f2e001a1cc8fb14f4ba0ab94cdf2
Fix gdb.server/server-exec-info.exp with the extended-remote board

This test fails with --target_board=native-extended-gdbserver because
it misses the usual "disconnect":

 (gdb) spawn ../gdbserver/gdbserver --once :2347 /home/pedro/gdb/mygit/build/gdb/testsuite/gdb.server/server-exec-info
 Process /home/pedro/gdb/mygit/build/gdb/testsuite/gdb.server/server-exec-info created; pid = 4736
 Listening on port 2347
 target extended-remote localhost:2347
 Already connected to a remote target.  Disconnect? (y or n) ^CsQuit
 (gdb) et sysroot remote:
 Undefined command: "et".  Try "help".
 (gdb) n
 The program is not being run.
 (gdb) FAIL: gdb.server/server-exec-info.exp: set sysroot remote: (got interactive prompt)
 info files
 (gdb) FAIL: gdb.server/server-exec-info.exp: info files

gdb/testsuite/ChangeLog:
2015-07-28  Pedro Alves  <palves@redhat.com>

* gdb.server/server-exec-info.exp: Issue a "disconnect".
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.server/server-exec-info.exp