From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23905 invoked by alias); 7 Oct 2003 15:53:18 -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 23895 invoked from network); 7 Oct 2003 15:53:17 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 7 Oct 2003 15:53:17 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h97FrG117229 for ; Tue, 7 Oct 2003 11:53:16 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h97FrGc04243 for ; Tue, 7 Oct 2003 11:53:16 -0400 Received: from localhost.redhat.com (devserv.devel.redhat.com [172.16.58.1]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h97FrFbe022668; Tue, 7 Oct 2003 11:53:15 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id B05D72CC88; Tue, 7 Oct 2003 12:04:03 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16258.58355.527098.612116@localhost.redhat.com> Date: Tue, 07 Oct 2003 15:53:00 -0000 To: vinschen@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] testsuite/gdb.base/ending-run.exp: Add sh specific case In-Reply-To: <20031003110458.GF11435@cygbert.vinschen.de> References: <20031003110458.GF11435@cygbert.vinschen.de> X-SW-Source: 2003-10/txt/msg00168.txt.bz2 Corinna Vinschen writes: > Hi, > > the comment in the source code says it all. Ok to commit? > Sure. All passes with this? > Corinna > > * gdb.base/ending-run.exp: Add sh specific case. > > Index: gdb.base/ending-run.exp > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/ending-run.exp,v > retrieving revision 1.21 > diff -u -p -r1.21 ending-run.exp > --- gdb.base/ending-run.exp 3 Apr 2003 16:34:48 -0000 1.21 > +++ gdb.base/ending-run.exp 3 Oct 2003 11:01:53 -0000 > @@ -202,6 +202,11 @@ gdb_expect { > -re ".*in __wrap__?main ().*$gdb_prompt $" { > pass "step out of main (status wrapper)" > } > + -re "__setup_argv_for_main (.*).*$gdb_prompt $" { > + # On sh, another wrapper function (start_l) exists, so > + # another `next' is necessary. > + gdb_test "next" ".*in start_l ().*" "step out of main (on sh)" > + } > -re ".*$gdb_prompt $" { fail "step out of main (at end 2)" } > timeout { > fail "step out of main (hang or timeout on step at end 2)" > > > -- > Corinna Vinschen > Cygwin Developer > Red Hat, Inc.