diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-20 15:58:08 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-20 15:58:08 +0000 |
commit | 2b211c59a27e846f60de28b83fdb9a6d41319236 (patch) | |
tree | 90f0d41fe6f196ff4420986db9f657e40698cf48 | |
parent | 039cf96dc4850dfd1de813faa9200bdc4fadb021 (diff) | |
download | gdb-2b211c59a27e846f60de28b83fdb9a6d41319236.zip gdb-2b211c59a27e846f60de28b83fdb9a6d41319236.tar.gz gdb-2b211c59a27e846f60de28b83fdb9a6d41319236.tar.bz2 |
2003-11-20 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
resync count exceeded.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 04928ed..9f2e4f0 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 e2848e3..e0be1b7 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 } |