From: Michael Snyder <msnyder@vmware.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: [RFA] gdb.threads/fork-child-threads.exp: no remote support
Date: Wed, 20 Oct 2010 23:32:00 -0000 [thread overview]
Message-ID: <4CBF7C09.6020601@vmware.com> (raw)
[-- 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}
next reply other threads:[~2010-10-20 23:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 23:32 Michael Snyder [this message]
2010-10-20 23:51 ` Pedro Alves
2010-10-20 23:58 ` Michael Snyder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CBF7C09.6020601@vmware.com \
--to=msnyder@vmware.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox