From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32268 invoked by alias); 25 Nov 2005 23:33:51 -0000 Received: (qmail 32261 invoked by uid 22791); 25 Nov 2005 23:33:50 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 25 Nov 2005 23:33:49 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Efn4d-0002l6-4v; Fri, 25 Nov 2005 18:33:47 -0500 Date: Sat, 26 Nov 2005 04:03:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: GDB Patches Subject: Re: [RFA] Run follow-fork tests on Linux Message-ID: <20051125233347.GA10519@nevyn.them.org> Mail-Followup-To: Michael Snyder , GDB Patches References: <4387914C.1000404@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4387914C.1000404@redhat.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00479.txt.bz2 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