summaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-20 15:58:08 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-20 15:58:08 +0000
commit619ddafd96e0d7c611561524fc47bd1bec8d5e17 (patch)
tree0e7e440402f14b326831da0df881b26e423e68e3 /gdb/testsuite
parent04e9b2f4299d163a3ff2ed4c143478de11d78b46 (diff)
downloadgdb-619ddafd96e0d7c611561524fc47bd1bec8d5e17.tar.gz
2003-11-20 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the resync count exceeded.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 04928ed90b6..9f2e4f08650 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,11 +1,14 @@
2003-11-20 Andrew Cagney <cagney@redhat.com>
+ * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
+ resync count exceeded.
+
* gdb.base/maint.exp: Use gdb_internal_error_resync to recover
from the internal error.
* lib/gdb.exp (gdb_internal_error_resync): New procedure.
Original from Jim Blandy.
(gdb_test_multiple): Use gdb_internal_error_resync.
-
+
2003-11-19 Andrew Cagney <cagney@redhat.com>
* gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index e2848e31b92..e0be1b79cdc 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -407,6 +407,8 @@ proc gdb_internal_error_resync {} {
}
}
}
+ perror "Could not resync from internal error (resync count exceeded)"
+ return 0
}