]> sourceware.org Git - newlib-cygwin.git/commitdiff
* dcrt0.cc (__api_fatal): Temporarily generate a stackdump.
authorChristopher Faylor <me@cgf.cx>
Mon, 21 Jun 2010 17:09:33 +0000 (17:09 +0000)
committerChristopher Faylor <me@cgf.cx>
Mon, 21 Jun 2010 17:09:33 +0000 (17:09 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/dcrt0.cc

index c26901e5e38ec07c2af9e09178688ff362820f67..b822077ddee0906a94f45a3a0b76a9764064730f 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-21  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * dcrt0.cc (__api_fatal): Temporarily generate a stackdump.
+
 2010-06-21  Christopher Faylor  <me+cygwin@cgf.cx>
 
        * tls_pbuf.cc (tmp_pathbuf::w_get): Report what's failing when too many
index d32ff22c9ce03ca734efbb36116cf6886558f21f..5dfad7c10388fb759d00c1187b6e469096920c6d 100644 (file)
@@ -1145,6 +1145,8 @@ _exit (int n)
   do_exit (((DWORD) n & 0xff) << 8);
 }
 
+extern "C" void cygwin_stackdump ();
+
 extern "C" void
 __api_fatal (const char *fmt, ...)
 {
@@ -1160,6 +1162,7 @@ __api_fatal (const char *fmt, ...)
 #ifdef DEBUGGING
   try_to_debug ();
 #endif
+  cygwin_stackdump ();
   myself.exit (__api_fatal_exit_val);
 }
 
This page took 0.036197 seconds and 5 git commands to generate.