From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25210 invoked by alias); 26 Sep 2008 13:00:54 -0000 Received: (qmail 25201 invoked by uid 22791); 26 Sep 2008 13:00:53 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 26 Sep 2008 13:00:14 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id C615410D00; Fri, 26 Sep 2008 13:00:11 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id B821510CFE; Fri, 26 Sep 2008 13:00:10 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KjCvZ-0005i8-4G; Fri, 26 Sep 2008 09:00:09 -0400 Date: Fri, 26 Sep 2008 13:00:00 -0000 From: Daniel Jacobowitz To: Jan Kratochvil Cc: Andreas Schwab , Roland McGrath , Doug Evans , GDB Patches , mark.kettenis@xs4all.nl Subject: Re: [patch] Fix Linux attach to signalled/stopped processes Message-ID: <20080926130009.GD21287@caradoc.them.org> Mail-Followup-To: Jan Kratochvil , Andreas Schwab , Roland McGrath , Doug Evans , GDB Patches , mark.kettenis@xs4all.nl References: <20080401223012.GA14076@host0.dyn.jankratochvil.net> <20080410153735.GD21662@caradoc.them.org> <20080410154839.GA5375@host0.dyn.jankratochvil.net> <20080410231205.2DBFD26F992@magilla.localdomain> <20080411161824.GA4183@host0.dyn.jankratochvil.net> <20080412000155.7F07A26FA5E@magilla.localdomain> <20080414143448.GA32227@caradoc.them.org> <20080414150919.GB32227@caradoc.them.org> <20080926035111.GA1197@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080926035111.GA1197@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00517.txt.bz2 On Fri, Sep 26, 2008 at 05:51:11AM +0200, Jan Kratochvil wrote: > 2008-09-26 Jan Kratochvil > > * gdb.threads/attachstop-mt.exp: Note a real testcase name this > testcase is derived from. Fix racy dependency on an expected PID > number. No longer support the testcase on Linux kernel 2.4.x. OK. > +set tids [lsort -integer [split $tids]] > +if {[llength $tids] != 3 || [lindex $tids 0] != $testpid} { > + verbose -log "Invalid TIDs <$tids> for PID $testpid" > + fail "Invalid TIDs found" > + remote_exec build "kill -9 ${testpid}" > + return -1 > +} > +set testpid2 [lindex $tids 2] I think this will FAIL on LinuxThreads but if I ever run that configuration again, I'll fix it. -- Daniel Jacobowitz CodeSourcery