This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Run follow-fork tests on Linux
- From: Daniel Jacobowitz <drow at false dot org>
- To: Michael Snyder <msnyder at redhat dot com>
- Cc: GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: Fri, 25 Nov 2005 18:33:47 -0500
- Subject: Re: [RFA] Run follow-fork tests on Linux
- References: <4387914C.1000404@redhat.com>
On Fri, Nov 25, 2005 at 02:33:48PM -0800, Michael Snyder wrote:
> This allows the tests "foll-fork" and "foll-vfork" to run on Linux,
> where they mostly pass. A little more verbose output from linux-nat.c
> will fix the remaining failures.
What the others said, but...
> *************** proc vfork_parent_follow_to_bp {} {
> *** 109,115 ****
> }
> send_gdb "continue\n"
> gdb_expect {
> ! -re ".*Detaching after fork from process.*Breakpoint.*18.*$gdb_prompt "\
> {pass "vfork parent follow, to bp"}
> -re "$gdb_prompt $" {fail "vfork parent follow, to bp"}
> timeout {fail "(timeout) vfork parent follow, to bp" }
> --- 109,115 ----
> }
> send_gdb "continue\n"
> gdb_expect {
> ! -re ".*Detaching after fork from.*Breakpoint.*18.*$gdb_prompt "\
> {pass "vfork parent follow, to bp"}
> -re "$gdb_prompt $" {fail "vfork parent follow, to bp"}
> timeout {fail "(timeout) vfork parent follow, to bp" }
... you are testing this on something close to HEAD, right? That
shouldn't be printed unless "set debug linux-nat 1".
--
Daniel Jacobowitz
CodeSourcery, LLC