From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4894 invoked by alias); 3 Dec 2002 05:08:50 -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 4887 invoked from network); 3 Dec 2002 05:08:50 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 3 Dec 2002 05:08:50 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18J7BE-0004XP-00; Tue, 03 Dec 2002 01:09:16 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18J5J9-0005mn-00; Tue, 03 Dec 2002 00:09:19 -0500 Date: Mon, 02 Dec 2002 21:08:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com, fnasser@redhat.com Subject: Re: [RFA/testsuite] Update selftest.exp Message-ID: <20021203050919.GA22221@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com, fnasser@redhat.com References: <20021022020730.GA22928@nevyn.them.org> <20021105214522.GC17994@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021105214522.GC17994@nevyn.them.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-12/txt/msg00052.txt.bz2 This is now PR gdb/862. Fernando? On Tue, Nov 05, 2002 at 04:45:22PM -0500, Daniel Jacobowitz wrote: > On Mon, Oct 21, 2002 at 10:07:30PM -0400, Daniel Jacobowitz wrote: > > Are others seeing this failure? If not, I'm not sure why not. There is no > > main in "main.c" any more. It's in "gdb.c" now. > > > > The "read" was bogus, too. It was supposed to match a read syscall; what it > > was actually matching was some debugging info that said "readline/". We > > call poll for the event loop nowadays. > > > > Is this patch OK? Should I also match "gdbtk-main.c" [I don't know if this > > part of the testsuite is ever run on the insight binary]? > > Ping. Keith confirmed that I'm OK on the insight side. > > > > > -- > > Daniel Jacobowitz > > MontaVista Software Debian GNU/Linux Developer > > > > 2002-10-21 Daniel Jacobowitz > > > > * gdb.base/selftest.exp: Update for current gdb. > > > > Index: testsuite/gdb.base/selftest.exp > > =================================================================== > > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/selftest.exp,v > > retrieving revision 1.4 > > diff -u -p -r1.4 selftest.exp > > --- testsuite/gdb.base/selftest.exp 22 Jun 2002 22:19:37 -0000 1.4 > > +++ testsuite/gdb.base/selftest.exp 13 Oct 2002 22:55:02 -0000 > > @@ -392,7 +392,7 @@ GDB.*Copyright \[0-9\]+ Free Software Fo > > set description "backtrace through signal handler" > > send_gdb "backtrace\n" > > gdb_expect { > > - -re "#0.*read.*in main \\(.*\\) at .*main\\.c.*$gdb_prompt $" { > > + -re "#0.*(read|poll).*in main \\(.*\\) at .*gdb\\.c.*$gdb_prompt $" { > > pass "$description" > > } > > -re ".*$gdb_prompt $" { > > > > -- > Daniel Jacobowitz > MontaVista Software Debian GNU/Linux Developer > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer