diff options
Diffstat (limited to 'src/stdlib')
| -rw-r--r-- | src/stdlib/abort_handler_s.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stdlib/abort_handler_s.c b/src/stdlib/abort_handler_s.c index cff0d539..49141c7b 100644 --- a/src/stdlib/abort_handler_s.c +++ b/src/stdlib/abort_handler_s.c @@ -13,6 +13,10 @@ void abort_handler_s(const char * restrict msg, void * restrict ptr, errno_t err puts(msg); if (ci) { + if (ci->func) { + printf("In call to %s() ", ci->func); + } + if (ci->signal != 0) { /* TODO: map numbers to names as well */ printf("While handling signal %d: ", ci->signal); |
