aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-06-12 21:28:34 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-06-12 21:28:34 +0000
commit72c6339519e4e63af958e8c559f7009955bd6113 (patch)
tree8a90a8918424d4d0596dbd365e427cab9e82b007
parent4b477ade4f01d4510ac44f4251b511b11d593318 (diff)
downloadgdb-72c6339519e4e63af958e8c559f7009955bd6113.zip
gdb-72c6339519e4e63af958e8c559f7009955bd6113.tar.gz
gdb-72c6339519e4e63af958e8c559f7009955bd6113.tar.bz2
gdb/testsuite/
Report error on GDB crash during runto. * lib/gdb.exp (runto <eof>): New.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index c5fb2e7..3fdfe65 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Report error on GDB crash during runto.
+ * lib/gdb.exp (runto <eof>): New.
+
2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 6f7c351..38cb38a 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -423,6 +423,10 @@ proc runto { function args } {
fail "running to $function in runto"
return 0
}
+ eof {
+ fail "running to $function in runto (end of file)"
+ return 0
+ }
timeout {
fail "running to $function in runto (timeout)"
return 0