Make gdb.base/solib-nodir.exp work with --target_board=native-extended-gdbserver
authorPedro Alves <palves@redhat.com>
Fri, 13 Oct 2017 09:26:06 +0000 (10:26 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 13 Oct 2017 09:29:30 +0000 (10:29 +0100)
commit27c9e813f93974c2d1e237f3c4f25029627bcb58
treef9fe09632c0c376d21edb0fac97f88355badb917
parent5e830d9807b91f806524ff822d953443c8fb3d2f
Make gdb.base/solib-nodir.exp work with --target_board=native-extended-gdbserver

Fixes:
 Running .../src/gdb/testsuite/gdb.base/solib-nodir.exp ...
 FAIL: gdb.base/solib-nodir.exp: library loaded

... by using the new "set cwd" command.

gdb/testsuite/ChangeLog:
2017-10-13  Pedro Alves  <palves@redhat.com>
    Simon Marchi <simon.marchi@polymtl.ca>

* gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
calls and add comments.  Skip test if use_gdb_stub is set.
(top level): Use "set cwd" command instead of "cd" command.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/solib-nodir.exp