* [RFA/MI testsuite] add expect_out global
@ 2002-08-22 14:09 Keith Seitz
2002-08-29 8:32 ` Elena Zannoni
0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2002-08-22 14:09 UTC (permalink / raw)
To: gdb-patches
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
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 {
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA/MI testsuite] add expect_out global
2002-08-22 14:09 [RFA/MI testsuite] add expect_out global Keith Seitz
@ 2002-08-29 8:32 ` Elena Zannoni
2002-08-29 11:15 ` Keith Seitz
0 siblings, 1 reply; 3+ messages in thread
From: Elena Zannoni @ 2002-08-29 8:32 UTC (permalink / raw)
To: Keith Seitz; +Cc: gdb-patches
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 {
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA/MI testsuite] add expect_out global
2002-08-29 8:32 ` Elena Zannoni
@ 2002-08-29 11:15 ` Keith Seitz
0 siblings, 0 replies; 3+ messages in thread
From: Keith Seitz @ 2002-08-29 11:15 UTC (permalink / raw)
To: gdb-patches
On Thu, 29 Aug 2002, Elena Zannoni wrote:
> 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.
Thanks, committed.
Keith
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-08-29 16:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-22 14:09 [RFA/MI testsuite] add expect_out global Keith Seitz
2002-08-29 8:32 ` Elena Zannoni
2002-08-29 11:15 ` Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox