From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14976 invoked by alias); 13 Sep 2002 14:49:52 -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 14967 invoked from network); 13 Sep 2002 14:49:51 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 13 Sep 2002 14:49:51 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g8DEXBw28188 for ; Fri, 13 Sep 2002 10:33:11 -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 g8DEnnd18653 for ; Fri, 13 Sep 2002 10:49:49 -0400 Received: from cygbert.vinschen.de (vpn50-17.rdu.redhat.com [172.16.50.17]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g8DEnlC01331 for ; Fri, 13 Sep 2002 07:49:48 -0700 Received: (from corinna@localhost) by cygbert.vinschen.de (8.11.6/8.9.3/Linux sendmail 8.9.3) id g8DEnjB27833 for gdb-patches@sources.redhat.com; Fri, 13 Sep 2002 16:49:45 +0200 Date: Fri, 13 Sep 2002 07:49:00 -0000 From: Corinna Vinschen To: gdb-patches@sources.redhat.com Subject: [RFA] testsuite/gdb.base/commands.exp: Don't expect "Program exited normally" string Message-ID: <20020913164944.F1574@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.3.22.1i X-SW-Source: 2002-09/txt/msg00246.txt.bz2 Hi, the command.exp test expects the string "Program exited normally" when testing commands execution on breakpoints. This might fail on some remote targets and simulators which never reaches a normal exit but stop execution at some defined trap in _exit() or friend. For that reason I'd propose to drop the above expectation from the test. Corinna * gdb.base/commands.exp: Don't expect a "Program exited normally" string after running the commands execution on breakpoint tests. Index: gdb.base/commands.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/commands.exp,v retrieving revision 1.11 diff -u -p -r1.11 commands.exp --- gdb.base/commands.exp 27 Aug 2002 01:09:09 -0000 1.11 +++ gdb.base/commands.exp 13 Sep 2002 14:45:28 -0000 @@ -490,7 +490,7 @@ proc bp_deleted_in_command_test {} { gdb_run_cmd gdb_expect { - -re ".*factorial command-list executed.*1.*Program exited normally.*$gdb_prompt $" { + -re ".*factorial command-list executed.*1.*$gdb_prompt $" { pass "run factorial until breakpoint" } -re ".*$gdb_prompt $" { @@ -547,7 +547,7 @@ proc temporary_breakpoint_commands {} { gdb_run_cmd gdb_expect { - -re ".*factorial tbreak commands executed.*1.*Program exited normally.*" { + -re ".*factorial tbreak commands executed.*1.*$gdb_prompt $" { pass "run factorial until temporary breakpoint" } timeout { fail "(timeout) run factorial until temporary breakpoint" } -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen@redhat.com