* config/unix-gdb.exp (gdb_exit): Add "wait".

This commit is contained in:
Jim Kingdon 1993-08-05 17:21:51 +00:00
parent 273aa9471d
commit f4dfe788b8
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,19 @@
Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* config/unix-gdb.exp (gdb_exit): Add "wait".
Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t06/signals.exp: xfail the continue from the handler for all
targets.
* gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
function with watchpoints enabled, the i386 call dummy starts with
a call.
* gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
386 bsd names its corefiles.
Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
* gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many

View File

@ -182,6 +182,11 @@ proc gdb_exit {} {
}
}
catch "close"
# Before this was here sometimes "uit" would get sent to the next GDB
# (assuming this is immediately followed by gdb_start), which would
# cause a loss of syncronization (i.e. all the stuff that swallows a
# prompt would swallow the wrong one).
wait
if $verbose>1 then {
send_user "Quitting $GDB $GDBFLAGS\n"