From: Andrew Cagney Date: Thu, 20 Nov 2003 15:58:08 +0000 (+0000) Subject: 2003-11-20 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b211c59a27e846f60de28b83fdb9a6d41319236;p=binutils-gdb.git 2003-11-20 Andrew Cagney * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the resync count exceeded. --- 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 + * 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 * 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 }