From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27878 invoked by alias); 21 Jan 2002 00:11:30 -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 27846 invoked from network); 21 Jan 2002 00:11:29 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sources.redhat.com with SMTP; 21 Jan 2002 00:11:29 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 4C6293F0F; Sun, 20 Jan 2002 19:11:19 -0500 (EST) Message-ID: <3C4B5CA7.8010003@cygnus.com> Date: Sun, 20 Jan 2002 16:11:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: fnf@redhat.com, Fernando Nasser Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Accept simulator exit message References: <200201060632.g066WrV00549@fred.ninemoons.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00610.txt.bz2 Hello, Did anything come of this patch? Andrew > Accept the message we get when running the a2-run.exp test > with the simulator. > > > 2002-01-05 Fred Fish > > * gdb.base/a2-run.exp: When run in the simulator, the exit > message is slightly different so accept that variation. > > Index: gdb.base/a2-run.exp > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/a2-run.exp,v > retrieving revision 1.3 > diff -u -p -r1.3 a2-run.exp > --- a2-run.exp 2001/03/06 08:21:50 1.3 > +++ a2-run.exp 2002/01/06 06:30:54 > @@ -56,6 +56,7 @@ gdb_load ${binfile} > > # Run with no arguments. > # On VxWorks this justs make sure the program was run. > +# When run in the simulator, we get a slightly different exit message. > gdb_run_cmd > > if [istarget "*-*-vxworks*"] then { > @@ -78,6 +79,9 @@ if [istarget "*-*-vxworks*"] then { > } else { > gdb_expect { > -re ".*usage: factorial .*Program exited with code 01.*$gdb_prompt $" { > + pass "run \"$testfile\" with no args" > + } > + -re ".*usage: factorial .*Program exited normally.*$gdb_prompt $" { > pass "run \"$testfile\" with no args" > } > -re ".*$gdb_prompt $" { > >