aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-07-20 22:19:07 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-07-20 22:19:07 +0000
commit569b05a56052fbdf2fa18ac7b3f4f210257f6eee (patch)
treea8e638c20e47096678eb126ae0db9f69ba3d1f81 /gdb/testsuite/lib
parent51d7d80300853eac20339390e1ae05de71e7e1e3 (diff)
downloadgdb-569b05a56052fbdf2fa18ac7b3f4f210257f6eee.zip
gdb-569b05a56052fbdf2fa18ac7b3f4f210257f6eee.tar.gz
gdb-569b05a56052fbdf2fa18ac7b3f4f210257f6eee.tar.bz2
gdb/
* symfile.c (find_separate_debug_file_by_debuglink): Remove a gdb_assert call, new comment. gdb/testsuite/ * gdb.base/solib-nodir.exp: New file. * lib/gdb.exp (runto): New case for a GDB internal error.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/gdb.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 032c1c6..2f57ffb 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -423,6 +423,11 @@ proc runto { function args } {
unsupported "Non-stop mode not supported"
return 0
}
+ -re ".*A problem internal to GDB has been detected" {
+ fail "running to $function in runto (GDB internal error)"
+ gdb_internal_error_resync
+ return 0
+ }
-re "$gdb_prompt $" {
fail "running to $function in runto"
return 0