diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-05 17:21:51 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-05 17:21:51 +0000 |
commit | f4dfe788b8e8e569cf4cc722f65033b5e75be57a (patch) | |
tree | dac2be098c4af6a250b6c248be94b78acf65bf50 /gdb/testsuite/config | |
parent | 273aa9471d38a75be78ff576531d329bc79a3516 (diff) | |
download | gdb-f4dfe788b8e8e569cf4cc722f65033b5e75be57a.zip gdb-f4dfe788b8e8e569cf4cc722f65033b5e75be57a.tar.gz gdb-f4dfe788b8e8e569cf4cc722f65033b5e75be57a.tar.bz2 |
* config/unix-gdb.exp (gdb_exit): Add "wait".
Diffstat (limited to 'gdb/testsuite/config')
-rw-r--r-- | gdb/testsuite/config/unix-gdb.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/config/unix-gdb.exp b/gdb/testsuite/config/unix-gdb.exp index 05578f9..bb69bf7 100644 --- a/gdb/testsuite/config/unix-gdb.exp +++ b/gdb/testsuite/config/unix-gdb.exp @@ -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" |