From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11270 invoked by alias); 23 Apr 2002 23:49:42 -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 11219 invoked from network); 23 Apr 2002 23:49:39 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 23 Apr 2002 23:49:39 -0000 Received: from localhost.redhat.com (remus.sfbay.redhat.com [172.16.27.252]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id QAA11995; Tue, 23 Apr 2002 16:49:36 -0700 (PDT) Received: by localhost.redhat.com (Postfix, from userid 469) id 1C43611414; Tue, 23 Apr 2002 19:49:12 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15557.62199.969948.504263@localhost.redhat.com> Date: Tue, 23 Apr 2002 16:49:00 -0000 To: Fernando Nasser Cc: Elena Zannoni , gdb-patches@sources.redhat.com Subject: Re: [RFA/Testsuite] help.exp In-Reply-To: <3CC5EFE0.9D322C64@redhat.com> References: <15557.59634.944097.218566@localhost.redhat.com> <3CC5EFE0.9D322C64@redhat.com> X-SW-Source: 2002-04/txt/msg00891.txt.bz2 Fernando Nasser writes: > Elena Zannoni wrote: > > > > The recent changes to help.exp eliminating the wildcards introduced a few > > failures on the powerpc. > > > > How about this to deal with the difference in output for the powerpc > > vs. other targets? > > > > Elena > > > Hi Elena, > > I would rather have a '.*' in there instead of the test for a specific > target. > That is the way it was originally. That works fine with the powerpc. > You don't need to resubmit: just add the '.*' and post the final > version. > OK. > Regards, > Fernando > > > > 2002-04-23 Elena Zannoni > > > > * gdb.base/help.exp: Change 'help status' to allow for PowerPC > > differences. > > > > Index: help.exp > > =================================================================== > > RCS file: /cvs/uberbaum/gdb/testsuite/gdb.base/help.exp,v > > retrieving revision 1.10 > > diff -u -p -r1.10 help.exp > > --- help.exp 29 Mar 2002 01:19:11 -0000 1.10 > > +++ help.exp 23 Apr 2002 23:04:23 -0000 > > @@ -535,7 +535,13 @@ gdb_test "help source" "Read commands fr > > # test help stack > > gdb_test "help stack" "Examining the stack\..*\[\r\n\]+When the program being debugged stops, gdb selects the innermost frame\.\[\r\n\]+The commands below can be used to select other frames by number or address\.\[\r\n\]+List of commands:\[\r\n\]+backtrace -- Print backtrace of all stack frames\[\r\n\]+bt -- Print backtrace of all stack frames\[\r\n\]+down -- Select and print stack frame called by this one\[\r\n\]+frame -- Select and print a stack frame\[\r\n\]+return -- Make selected stack frame return to its caller\[\r\n\]+select-frame -- Select a stack frame without printing anything\[\r\n\]+up -- Select and print stack frame that called this one\[\r\n\]+Type \"help\" followed by command name for full documentation\.\[\r\n\]+Command name abbreviations are allowed if unambiguous\." "help stack" > > # test help status > > -gdb_test "help status" "Status inquiries\.\[\r\n\]+List of commands:\[\r\n\]+info -- Generic command for showing things about the program being debugged\[\r\n\]+show -- Generic command for showing things about the debugger\[\r\n\]+Type \"help\" followed by command name for full documentation\.\[\r\n\]+Command name abbreviations are allowed if unambiguous\." "help status" > > + > > +if [istarget "powerpc-*-*"] then { > > + gdb_test "help status" "Status inquiries\.\[\r\n\]+List of commands:\[\r\n\]+info -- Generic command for showing things about the program being debugged\[\r\n\]+info powerpc -- Various POWERPC info specific commands\[\r\n\]+info powerpc altivec -- Display the contents of the AltiVec registers\[\r\n\]+show -- Generic command for showing things about the debugger\[\r\n\]+Type \"help\" followed by command name for full documentation\.\[\r\n\]+Command name abbreviations are allowed if unambiguous\." "help status" > > +} else { > > + gdb_test "help status" "Status inquiries\.\[\r\n\]+List of commands:\[\r\n\]+info -- Generic command for showing things about the program being debugged\[\r\n\]+show -- Generic command for showing things about the debugger\[\r\n\]+Type \"help\" followed by command name for full documentation\.\[\r\n\]+Command name abbreviations are allowed if unambiguous\." "help status" > > +} > > + > > # test help support > > # FIXME -- Ultrix hangs randomly on this very long output from gdb and > > # continues with its output only if something is sent to gdb. > > -- > Fernando Nasser > Red Hat Canada Ltd. E-Mail: fnasser@redhat.com > 2323 Yonge Street, Suite #300 > Toronto, Ontario M4P 2C9