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:
@ -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
|
||||
|
Reference in New Issue
Block a user