1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Preserve message printed before abort.

The terminal output etc is not visible in a core file.  The new
libc-internal variable __abort_msg will point to a string with the
message which has been printed before the abort in case abort is
called from inside libc.  BZ #10217
This commit is contained in:
Ulrich Drepper
2009-06-15 16:17:09 -07:00
parent 6355c99740
commit 48dcd0ba84
8 changed files with 67 additions and 11 deletions

View File

@ -221,6 +221,9 @@ extern int __qfcvt_r (long double __value, int __ndigit,
extern void *__default_morecore (ptrdiff_t) __THROW;
libc_hidden_proto (__default_morecore)
extern char *__abort_msg;
libc_hidden_proto (__abort_msg)
__END_DECLS
#undef __Need_M_And_C