projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
400b81b
)
Catch error on close so runtest won't bomb.
author
Rob Savoye
<rob@cygnus>
Wed, 17 Mar 1993 02:04:20 +0000
(
02:04
+0000)
committer
Rob Savoye
<rob@cygnus>
Wed, 17 Mar 1993 02:04:20 +0000
(
02:04
+0000)
gdb/testsuite/config/unix-gdb.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/config/unix-gdb.exp
b/gdb/testsuite/config/unix-gdb.exp
index 62456639980d4f1ca5922374e24d1033948973bd..2e5a117d8d05a487a1afb26217fa78e2ad9f3183 100644
(file)
--- a/
gdb/testsuite/config/unix-gdb.exp
+++ b/
gdb/testsuite/config/unix-gdb.exp
@@
-139,6
+139,7
@@
proc gdb_exit {} {
}
catch "send \"quit\n\"" result
if [string match "write\(spawn_id=\[0-9\]+\): Bad file number" $result] then {
+ catch "close"
return 0
}
expect {
@@
-161,6
+162,11
@@
proc gdb_exit {} {
close
}
}
+ catch "close"
+
+ if $verbose>1 then {
+ send_user "Quitting $GDB $GDBFLAGS\n"
+ }
}
#