diff options
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/uthread/uthread_exit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libpthread/uthread/uthread_exit.c b/lib/libpthread/uthread/uthread_exit.c index 432a9435ca7..cedb60d2bca 100644 --- a/lib/libpthread/uthread/uthread_exit.c +++ b/lib/libpthread/uthread/uthread_exit.c @@ -122,6 +122,9 @@ _thread_exit(const char *fname, int lineno, const char *string) /* Write the string to the standard error file descriptor: */ _thread_sys_write(2, s, strlen(s)); + /* Write a dump of the current thread status: */ + _thread_dump_info(); + /* Force this process to exit: */ _exit(1); } |