From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2695 invoked by alias); 29 Mar 2004 22:58:46 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2669 invoked from network); 29 Mar 2004 22:58:45 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 29 Mar 2004 22:58:45 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i2TMwj1X003959 for ; Mon, 29 Mar 2004 17:58:45 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i2TMwij28863; Mon, 29 Mar 2004 17:58:44 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id i2TMwif7022868; Mon, 29 Mar 2004 17:58:44 -0500 Received: from redhat.com (toocool.toronto.redhat.com [172.16.14.72]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 2996680008E; Mon, 29 Mar 2004 17:58:44 -0500 (EST) Message-ID: <4068AA24.1050409@redhat.com> Date: Mon, 29 Mar 2004 22:58:00 -0000 From: Jeff Johnston User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [patch] New thread test to exercise Daniel's Patch References: <406472FB.4010905@redhat.com> <40649CEE.4070607@redhat.com> <20040326211958.GA31610@nevyn.them.org> <4068658F.2070903@redhat.com> <20040329181122.GB22039@nevyn.them.org> <4068849B.7030800@redhat.com> <20040329204204.GA3251@nevyn.them.org> <40688F40.1010106@redhat.com> <20040329213444.GA32070@nevyn.them.org> <40689C42.4090901@redhat.com> <20040329223226.GA19488@nevyn.them.org> In-Reply-To: <20040329223226.GA19488@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00738.txt.bz2 Daniel Jacobowitz wrote: > On Mon, Mar 29, 2004 at 04:59:30PM -0500, Jeff Johnston wrote: > >>Daniel Jacobowitz wrote: >> >>>On Mon, Mar 29, 2004 at 04:04:00PM -0500, Jeff Johnston wrote: >>> >>> >>>>Ok, I had the thread checks in the Continue test. If I change it to the >>>>way above, now I get 3 "Process no longer exists "messages but the test >>>>completes. :( >>>> >>>>I'm really starting to hate these test macros. What is the reasoning >>>>behind avoiding send_gdb / gdb_expect? >>> >>> >>>They don't automatically handle things like internal errors, >>>disconnects, et cetera. Want to post your current version and I'll >>>give it a try? >>> > > >> -re "Program received signal SIGINT.*$gdb_prompt $" >> { >> pass "$message" >> } > > > Nothing automatically sets $message. The ERROR: you saw is DejaGNU's > generic failure message for things like syntax errors in expect blocks; > I sent a patch to the dejagnu list a month or so ago to print more > helpful information. Try the attached script instead. > Thanks for restoring my sanity. I got mixed up by the fact that the gdb_test_multiple macro uses $message inside itself based on the passed argument. I thought the conditions I specify would be able to use the same variable. It runs successfully for me on my RHEL3 system. > Oddly, running a fixed manythreads.exp with an unpatched GDB, I get a > SIGSEGV in pthread_join. It shows up as a FAIL (yay). The patched GDB > shows up as nine PASSes (yay). Re-running it a number of times, the > SIGSEGV came and went intermittently. > > Running the test with LinuxThreads an internal error (lp->status == 0 > assertion failed) came and went also. > > I guess that makes it a good test.... now someone will have to _fix_ > those. > Do I resubmit the patched test or has it been approved? -- Jeff J.