Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-01-23 09:27:36 +0400
committerChristopher Faylor <me@cgf.cx>2013-01-23 09:27:36 +0400
commitdf37bdc5b7df09ca4d26f8dbf93f07676f097321 (patch)
tree7e1a36cc56d54c9e12760a43eeb716e46e1f09a2
parent1fc747f37ac6d74b617dddcb0153cc47f0d4fb4d (diff)
* 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 48870ae1c..c7bd6575b 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 5a8474b6b..56e9bc106 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