* lib/gdb.exp (gdb_expect_list): Recover from internal-errors
using gdb_internal_error_resync.
+2004-02-10 Andrew Cagney <cagney@redhat.com>
+
+ * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
+ using gdb_internal_error_resync.
+
2004-02-09 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/thread-specific.exp: Stop early if no threads are
fail "${test} (pattern ${index} + sentinel)"
set ok 0
}
+ -re ".*A problem internal to GDB has been detected" {
+ fail "${test} (GDB internal error)"
+ set ok 0
+ gdb_internal_error_resync
+ }
timeout {
fail "${test} (pattern ${index} + sentinel) (timeout)"
set ok 0
fail "${test} (pattern ${index})"
set ok 0
}
+ -re ".*A problem internal to GDB has been detected" {
+ fail "${test} (GDB internal error)"
+ set ok 0
+ gdb_internal_error_resync
+ }
timeout {
fail "${test} (pattern ${index}) (timeout)"
set ok 0