From 653ae28f8a279df351907132b730b3eadcd6b9a5 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Thu, 26 Aug 1993 00:36:15 +0000 Subject: [PATCH] * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete "alldone" proc with call to cleanup and exit. * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to "alldone" proc with simple returns that suppress remaining tests. The alldone proc went away many months ago. --- gdb/testsuite/ChangeLog | 14 ++++++++++++++ gdb/testsuite/config/udi-gdb.exp | 4 +++- gdb/testsuite/config/unix-gdb.exp | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 452e6b95431..6bd456de5a0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,17 @@ +Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com) + + * configure.in (configdirs): Restore gdb.t04, which mysteriously + disappeared from list. + * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete + "alldone" proc with call to cleanup and exit. + * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp, + gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp, + gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, + gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp, + gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to + "alldone" proc with simple returns that suppress remaining + tests. The alldone proc went away many months ago. + Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests. diff --git a/gdb/testsuite/config/udi-gdb.exp b/gdb/testsuite/config/udi-gdb.exp index a59ff43cc23..df64531a745 100644 --- a/gdb/testsuite/config/udi-gdb.exp +++ b/gdb/testsuite/config/udi-gdb.exp @@ -94,6 +94,7 @@ proc gdb_target_udi { } { global targetname global prompt global verbose + global exit_status # set targets hostname send "target udi $targetname\n" @@ -110,7 +111,8 @@ proc gdb_target_udi { } { } timeout { error "Couldn't set target for UDI." - alldone + cleanup + exit $exit_status } } set timeout 10 diff --git a/gdb/testsuite/config/unix-gdb.exp b/gdb/testsuite/config/unix-gdb.exp index f3aed9f318c..68c1a729cf3 100644 --- a/gdb/testsuite/config/unix-gdb.exp +++ b/gdb/testsuite/config/unix-gdb.exp @@ -284,7 +284,7 @@ proc gdb_start {} { # "" { send "\n"; error "Window too small." } # -re "\(y or n\) " { send "n\n"; error "Got interactive prompt." } # buffer_full { error "internal buffer is full." } -# eof { error "eof -- there is no child process" ; alldone} +# eof { error "eof -- there is no child process" ; cleanup ; exit $exit_status} # timeout { error "timeout." } # "virtual memory exhausted" { error "virtual memory exhausted." } # "Undefined command" { error "send string probably wrong." } -- 2.30.2