diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-09-29 15:18:46 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-09-29 15:18:46 +0000 |
| commit | 3cf3c5d9ddb2edd1033c0b8e612096b8b35b3bb4 (patch) | |
| tree | f20b5cb25cf94c494095050b1f52676e7efd71f7 /lib/libpthread/thread/thr_info.c | |
| parent | 956d3333cadea27513348a7718e9cfd5c26e9ba0 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_info.c')
| -rw-r--r-- | lib/libpthread/thread/thr_info.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_info.c b/lib/libpthread/thread/thr_info.c index ed4a58db4647..06b556e69b18 100644 --- a/lib/libpthread/thread/thr_info.c +++ b/lib/libpthread/thread/thr_info.c @@ -156,8 +156,14 @@ _thread_dump_info(void) _thread_sys_write(fd, s, strlen(s)); break; case PS_SIGWAIT: - snprintf(s, sizeof(s), "sigmask 0x%08lx\n", - (unsigned long)pthread->sigmask); + snprintf(s, sizeof(s), "sigmask (hi)"); + _thread_sys_write(fd, s, strlen(s)); + for (i = _SIG_WORDS - 1; i >= 0; i--) { + snprintf(s, sizeof(s), "%08x\n", + pthread->sigmask.__bits[i]); + _thread_sys_write(fd, s, strlen(s)); + } + snprintf(s, sizeof(s), "(lo)\n"); _thread_sys_write(fd, s, strlen(s)); break; |
