diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-04-13 20:31:01 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-04-13 20:31:01 +0000 |
commit | 2878145693aa0f42133e52e5378ac934bd4958cd (patch) | |
tree | 60c7a08f36a62aed996f6b48fad9bdfeb7bfff5a /gdb/testsuite/lib | |
parent | 51bf25536704f737c33a24ee3c93cdd07a2699e9 (diff) | |
download | gdb-2878145693aa0f42133e52e5378ac934bd4958cd.zip gdb-2878145693aa0f42133e52e5378ac934bd4958cd.tar.gz gdb-2878145693aa0f42133e52e5378ac934bd4958cd.tar.bz2 |
gdb/testsuite/
* lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index a512527..761624f 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -377,6 +377,11 @@ proc gdb_breakpoint { function args } { send_gdb "$pending_response\n" exp_continue } + -re "A problem internal to GDB has been detected" { + fail "setting breakpoint at $function in runto (GDB internal error)" + gdb_internal_error_resync + return 0 + } -re "$gdb_prompt $" { if { $no_message == 0 } { fail "setting breakpoint at $function" |