2004-02-10 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_expect_list): Recover from internal-errors using gdb_internal_error_resync.
This commit is contained in:
parent
8e08f1091d
commit
5c5455dc1e
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -1470,6 +1470,11 @@ proc gdb_expect_list {test sentinel list} {
|
|||
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
|
||||
|
@ -1488,6 +1493,11 @@ proc gdb_expect_list {test sentinel list} {
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue