Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: Michael Snyder <msnyder@redhat.com>
Cc: Elena Zannoni <ezannoni@redhat.com>,
	Fernando Nasser <fnasser@redhat.com>,
	gdb-patches@sources.redhat.com
Subject: Re: [RFA/Testsuite] help.exp
Date: Tue, 23 Apr 2002 20:07:00 -0000	[thread overview]
Message-ID: <15558.8547.565023.830848@localhost.redhat.com> (raw)
In-Reply-To: <3CC5F819.A6C792AE@redhat.com>

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  <ezannoni@redhat.com>

	* 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.


  reply	other threads:[~2002-04-24  3:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-23 16:06 Elena Zannoni
2002-04-23 16:35 ` Michael Snyder
2002-04-23 16:47   ` Fernando Nasser
2002-04-23 16:51     ` Elena Zannoni
2002-04-23 17:23       ` Michael Snyder
2002-04-23 20:07         ` Elena Zannoni [this message]
2002-04-23 16:39 ` Fernando Nasser
2002-04-23 16:49   ` Elena Zannoni
2002-04-23 20:55 Michael Elizabeth Chastain
2002-04-23 20:57 ` Elena Zannoni
2002-04-23 21:04 Michael Elizabeth Chastain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15558.8547.565023.830848@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=fnasser@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox