From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26620 invoked by alias); 3 Oct 2003 11:05:04 -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 26612 invoked from network); 3 Oct 2003 11:05:03 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 3 Oct 2003 11:05:03 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h93B52100990 for ; Fri, 3 Oct 2003 07:05:02 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h93B51D08801 for ; Fri, 3 Oct 2003 07:05:02 -0400 Received: from cygbert.vinschen.de (vpn50-5.rdu.redhat.com [172.16.50.5]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h93B50w09469 for ; Fri, 3 Oct 2003 04:05:00 -0700 Received: by cygbert.vinschen.de (Postfix, from userid 500) id E3C5958044; Fri, 3 Oct 2003 13:04:58 +0200 (CEST) Date: Fri, 03 Oct 2003 11:05:00 -0000 From: Corinna Vinschen To: gdb-patches@sources.redhat.com Subject: [RFA] testsuite/gdb.base/ending-run.exp: Add sh specific case Message-ID: <20031003110458.GF11435@cygbert.vinschen.de> Reply-To: gdb-patches@sources.redhat.com Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2003-10/txt/msg00049.txt.bz2 Hi, the comment in the source code says it all. Ok to commit? 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.