2003-11-20 Andrew Cagney <cagney@redhat.com>

* lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
	resync count exceeded.
This commit is contained in:
Andrew Cagney 2003-11-20 15:58:08 +00:00
parent 039cf96dc4
commit 2b211c59a2
2 changed files with 6 additions and 1 deletions

View 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

View file

@ -407,6 +407,8 @@ proc gdb_internal_error_resync {} {
}
}
}
perror "Could not resync from internal error (resync count exceeded)"
return 0
}