From: Elena Zannoni <ezannoni@redhat.com>
To: Keith Seitz <keiths@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/MI testsuite] add expect_out global
Date: Thu, 29 Aug 2002 08:32:00 -0000 [thread overview]
Message-ID: <15726.15189.346472.673358@localhost.redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0208221357450.1410-100000@valrhona.uglyboxes.com>
Keith Seitz writes:
> Hi,
>
> The following simple patches will allow callers of mi_gdb_test to access
> the variable expect_out. Without this, expect_out will only be accessible
> in mi_gdb_test, which does test writers little good.
>
> Keith
OK.
Elena
>
> ChangeLog
> 2002-08-22 Keith Seitz <keiths@redhat.com>
>
> * lib/mi-support.exp (mi_gdb_test): Add global declaration
> for expect_out, which will enable callers to access it.
>
> Patch
> Index: testsuite/lib/mi-support.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/lib/mi-support.exp,v
> retrieving revision 1.13
> diff -p -r1.13 mi-support.exp
> *** testsuite/lib/mi-support.exp 12 Nov 2001 19:44:28 -0000 1.13
> --- testsuite/lib/mi-support.exp 22 Aug 2002 20:56:23 -0000
> *************** proc mi_gdb_load { arg } {
> *** 382,388 ****
> proc mi_gdb_test { args } {
> global verbose
> global mi_gdb_prompt
> ! global GDB
> upvar timeout timeout
>
> if [llength $args]>2 then {
> --- 382,388 ----
> proc mi_gdb_test { args } {
> global verbose
> global mi_gdb_prompt
> ! global GDB expect_out
> upvar timeout timeout
>
> if [llength $args]>2 then {
next prev parent reply other threads:[~2002-08-29 15:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-22 14:09 Keith Seitz
2002-08-29 8:32 ` Elena Zannoni [this message]
2002-08-29 11:15 ` Keith Seitz
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=15726.15189.346472.673358@localhost.redhat.com \
--to=ezannoni@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=keiths@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