This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] gdb.threads/fork-child-threads.exp: no remote support
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 20 Oct 2010 16:32:25 -0700
- Subject: [RFA] gdb.threads/fork-child-threads.exp: no remote support
Am I not right? This test should not run on a remote target,
even if it is a linux target, because follow-child will not work.
2010-10-20 Michael Snyder <msnyder@vmware.com>
* gdb.threads/fork-child-threads.exp: Don't run on remote target.
Index: fork-child-threads.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/fork-child-threads.exp,v
retrieving revision 1.4
diff -u -p -r1.4 fork-child-threads.exp
--- fork-child-threads.exp 1 Jan 2010 07:32:06 -0000 1.4
+++ fork-child-threads.exp 20 Oct 2010 23:29:15 -0000
@@ -18,6 +18,10 @@ if { ! [istarget "*-*-linux*"] } {
return 0
}
+if { [is_remote target] || ![isnative] } then {
+ return 0
+}
+
set testfile fork-child-threads
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}