This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[rfa] break-entry.exp: suppress test if remote target
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 07 Dec 2010 11:35:57 -0800
- Subject: [rfa] break-entry.exp: suppress test if remote target
This test doesn't work on remote targets (gdbserver), because it sets a
breakpoint at _start, which is also the current pc. We never hit a
breakpoint at the current pc when we continue.
2010-12-07 Michael Snyder <msnyder@vmware.com>
* gdb.base/break-entry.exp: Skip test if remote target.
Index: break-entry.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/break-entry.exp,v
retrieving revision 1.1
diff -u -p -r1.1 break-entry.exp
--- break-entry.exp 4 Apr 2010 22:12:14 -0000 1.1
+++ break-entry.exp 7 Dec 2010 19:34:26 -0000
@@ -21,6 +21,10 @@ if { [prepare_for_testing ${testfile}.ex
return -1
}
+if { [target_info exists use_gdb_stub] || [target_info exists gdb_protocol]} then {
+ return -1
+}
+
set test "info files"
set entry ""
gdb_test_multiple $test $test {