Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@gnat.com>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa/testsuite] add test embryo for lang = minimal
Date: Fri, 13 Jun 2003 00:00:00 -0000	[thread overview]
Message-ID: <20030612235955.GA947@gnat.com> (raw)
In-Reply-To: <20030523004519.GM923@gnat.com>

Ping?

On Thu, May 22, 2003 at 05:45:19PM -0700, Joel Brobecker wrote:
> > Hmmm, it's ok, I wonder if it could be folded into langs.exp?  Also,
> > default.exp, setshow.exp, help.exp have language tests that should
> > probably be updated including the minimal language.
> 
> Is the attached better? (merged the minimal.exp test into langs.exp).
> I will be looking at setshow, default, and help momentarily.
> 
> 2003-05-22  J. Brobecker  <brobecker@gnat.com>
> 
>         * gdb.base/langs.exp: Add some tests for the "minimal" language
>         support
> 
> -- 
> Joel

> Index: langs.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/langs.exp,v
> retrieving revision 1.1.1.2
> diff -u -r1.1.1.2 langs.exp
> --- langs.exp	28 Jun 1999 16:03:20 -0000	1.1.1.2
> +++ langs.exp	23 May 2003 00:41:29 -0000
> @@ -145,5 +145,20 @@
>      }
>  }
>  
> +gdb_exit
> +gdb_start
> +gdb_reinitialize_dir $srcdir/$subdir
> +gdb_load $binfile
> +
> +# Try exercising the "minimal" language a bit...
> +
> +if [runto csub] then {
> +    gdb_test "set lang minimal" \
> +             "Warning: the current language does not match this frame." \
> +             "set lang to minimal"
> +    
> +    gdb_test "print x" " = 5000" "print parameter value"
> +}
> +
>  set timeout $oldtimeout
>  return 0


-- 
Joel


  reply	other threads:[~2003-06-13  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-22  0:13 Joel Brobecker
2003-05-22 13:53 ` Elena Zannoni
2003-05-23  0:45   ` Joel Brobecker
2003-06-13  0:00     ` Joel Brobecker [this message]
2003-06-23 19:48       ` Elena Zannoni
2003-06-23 23:41         ` Joel Brobecker

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=20030612235955.GA947@gnat.com \
    --to=brobecker@gnat.com \
    --cc=ezannoni@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