binutils-gdb/gdb/testsuite/gdb.gdb
Tom Tromey e379b39141 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.
2013-06-18 14:12:09 +00:00
..
complaints.exp fix python-selftest.exp failure with gdbserver 2013-06-18 14:12:09 +00:00
observer.exp fix python-selftest.exp failure with gdbserver 2013-06-18 14:12:09 +00:00
python-selftest.exp * gdb.gdb/python-selftest.exp: New file. 2013-05-20 20:43:28 +00:00
selftest.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
xfullpath.exp fix python-selftest.exp failure with gdbserver 2013-06-18 14:12:09 +00:00