mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +08:00
* dcrt0.cc (__api_fatal): Temporarily generate a stackdump.
This commit is contained in:
parent
d80400d46e
commit
74434376cf
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user