* exceptions.cc (exception::handle): Make attempt to recursively dump stack

fatal.
This commit is contained in:
Christopher Faylor
2013-01-23 05:27:36 +00:00
parent 1fc747f37a
commit df37bdc5b7
2 changed files with 6 additions and 1 deletions

View File

@ -617,7 +617,7 @@ exception::handle (EXCEPTION_RECORD *e, exception_list *frame, CONTEXT *in, void
/* Another exception could happen while tracing or while exiting.
Only do this once. */
if (recursed++)
system_printf ("Error while dumping state (probably corrupted stack)");
api_fatal ("Error while dumping state (probably corrupted stack)");
else if (!try_to_debug (0))
rtl_unwind (frame, e);
else