* [RFA] gdb.threads/fork-child-threads.exp: no remote support
@ 2010-10-20 23:32 Michael Snyder
2010-10-20 23:51 ` Pedro Alves
0 siblings, 1 reply; 3+ messages in thread
From: Michael Snyder @ 2010-10-20 23:32 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 129 bytes --]
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.
[-- Attachment #2: fork.txt --]
[-- Type: text/plain, Size: 711 bytes --]
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}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-20 23:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-20 23:32 [RFA] gdb.threads/fork-child-threads.exp: no remote support Michael Snyder
2010-10-20 23:51 ` Pedro Alves
2010-10-20 23:58 ` Michael Snyder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox