OSDN Git Service

2003-11-20 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Thu, 20 Nov 2003 15:58:08 +0000 (15:58 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 20 Nov 2003 15:58:08 +0000 (15:58 +0000)
* lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
resync count exceeded.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 04928ed..9f2e4f0 100644 (file)
@@ -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
index e2848e3..e0be1b7 100644 (file)
@@ -407,6 +407,8 @@ proc gdb_internal_error_resync {} {
            }
        }
     }
+    perror "Could not resync from internal error (resync count exceeded)"
+    return 0
 }