Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: fnf@redhat.com, Fernando Nasser <fnasser@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Accept simulator exit message
Date: Sun, 20 Jan 2002 16:11:00 -0000	[thread overview]
Message-ID: <3C4B5CA7.8010003@cygnus.com> (raw)
In-Reply-To: <200201060632.g066WrV00549@fred.ninemoons.com>

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  <fnf@redhat.com>
> 
> * 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 <number>.*Program exited with code 01.*$gdb_prompt $" {
> +	    pass "run \"$testfile\" with no args"
> +	}
> +	-re ".*usage:  factorial <number>.*Program exited normally.*$gdb_prompt $" {
>  	    pass "run \"$testfile\" with no args"
>  	}
>  	-re ".*$gdb_prompt $" {
> 
> 



  reply	other threads:[~2002-01-21  0:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-05 22:34 Fred Fish
2002-01-20 16:11 ` Andrew Cagney [this message]
2002-01-20 21:44   ` Michael Snyder
2002-01-21  8:16     ` Fernando Nasser

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=3C4B5CA7.8010003@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=fnasser@redhat.com \
    --cc=fnf@redhat.com \
    --cc=gdb-patches@sources.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