aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-01-23 05:27:36 +0000
committerChristopher Faylor <me@cgf.cx>2013-01-23 05:27:36 +0000
commitdf37bdc5b7df09ca4d26f8dbf93f07676f097321 (patch)
tree7e1a36cc56d54c9e12760a43eeb716e46e1f09a2
parent1fc747f37ac6d74b617dddcb0153cc47f0d4fb4d (diff)
downloadnewlib-df37bdc5b7df09ca4d26f8dbf93f07676f097321.zip
newlib-df37bdc5b7df09ca4d26f8dbf93f07676f097321.tar.gz
newlib-df37bdc5b7df09ca4d26f8dbf93f07676f097321.tar.bz2
* exceptions.cc (exception::handle): Make attempt to recursively dump stack
fatal.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/exceptions.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 48870ae..c7bd657 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-23 Christopher Faylor <me.cygwin2013@cgf.cx>
+
+ * exceptions.cc (exception::handle): Make attempt to recursively dump
+ stack fatal.
+
2013-01-22 Christopher Faylor <me.cygwin2013@cgf.cx>
* miscfuncs.cc (__import_address): Avoid NULL explicitly.
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 5a8474b..56e9bc1 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -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