From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12689 invoked by alias); 24 Apr 2002 03:07:45 -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 12676 invoked from network); 24 Apr 2002 03:07:43 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 24 Apr 2002 03:07:43 -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 UAA23740; Tue, 23 Apr 2002 20:07:40 -0700 (PDT) Received: by localhost.redhat.com (Postfix, from userid 469) id D353711414; Tue, 23 Apr 2002 23:07:15 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15558.8547.565023.830848@localhost.redhat.com> Date: Tue, 23 Apr 2002 20:07:00 -0000 To: Michael Snyder Cc: Elena Zannoni , Fernando Nasser , gdb-patches@sources.redhat.com Subject: Re: [RFA/Testsuite] help.exp In-Reply-To: <3CC5F819.A6C792AE@redhat.com> References: <15557.59634.944097.218566@localhost.redhat.com> <3CC5ECDF.4FDFB9B6@redhat.com> <3CC5F1D8.C58F55C7@redhat.com> <15557.62307.629214.953018@localhost.redhat.com> <3CC5F819.A6C792AE@redhat.com> X-SW-Source: 2002-04/txt/msg00900.txt.bz2 Michael Snyder writes: > Elena Zannoni wrote: > > > > Fernando Nasser writes: > > > Michael Snyder wrote: > > > > > > > > Or you could just use a parenthesis to make the > > > > powerpc command output optional... > > > > > > > > > > Good idea, more specific than my suggested '.*'. But we don't > > > need to be so stringent in this case. As long as we see the > > > generic ones the help is working. > > > > > > Unless Elena wants to test if these commands show up for the powerpc > > > targets help. In this case, neither my suggestion or yours are > > > checking for it. :-( > > > > > > > Nah, I don't really want to be that specific. > > > > > If that is the case, we will have to go with Elena's original patch. > > > > > > > But you guys decide, if we got rid of the wildcards do we want them back? > > I was only deleting them where I thought they were unnecessary. > In this case, I was wrong, 'cause I didn't know PPC had its own > variants. So yes, it would be appropriate to put that one back. > > Michael OK, I committed the following: 2002-04-23 Elena Zannoni * gdb.base/help.exp: Change 'help status' to allow for target dependent output 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 24 Apr 2002 03:05:07 -0000 @@ -535,7 +535,9 @@ 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" +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.