]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
fix python-selftest.exp failure with gdbserver
authorTom Tromey <tromey@redhat.com>
Tue, 18 Jun 2013 14:12:09 +0000 (14:12 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 18 Jun 2013 14:12:09 +0000 (14:12 +0000)
commite379b391417a10ddedd68ed23a2858e87a0a6792
tree13b45a03c0ee585067edf733ce380643cc8de8b6
parent9f9b731fe3dffcc4da98d2599e5d83e0799e2d23
fix python-selftest.exp failure with gdbserver

python-selftest.exp fails with an error when using the
native-gdbserver.exp board.

The bug is that the selftest code doesn't work in this situation.  It
never has.

This patch fixes the problem by pushing the needed check into
do_self_tests.  This helps prevent the problem in the future.

* lib/selftest-support.exp (do_self_tests): Reject remote or
non-native targets.
* gdb.gdb/complaints.exp: Remove check.
* gdb.gdb/observer.exp: Remove check.
* gdb.gdb/xfullpath.exp: Remove check.
* gdb.gdb/complaints.exp: Remove check.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.gdb/complaints.exp
gdb/testsuite/gdb.gdb/observer.exp
gdb/testsuite/gdb.gdb/xfullpath.exp
gdb/testsuite/lib/selftest-support.exp