printcontext should pass sigmask addr to printsigmask

This commit is contained in:
John Hughes 2001-05-15 15:09:14 +00:00
parent aa09c6b01e
commit 70c5e7aa48
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-05-15 John Hughes <john@Calva.COM>
* signal.c: pass a pointer to sigmask to printsigmask from printcontext,
it was just passing the sigmask (ucp->uc_sigmask).
2001-05-15 John Hughes <john@Calva.COM>
* util.c: Don't run off the end of valid memory in umovestr when

View File

@ -1078,7 +1078,7 @@ ucontext_t *ucp;
tprintf(", uc_link=%#lx, ", (unsigned long) ucp->uc_link);
}
tprintf("uc_sigmask=");
printsigmask(ucp->uc_sigmask, 0);
printsigmask(&ucp->uc_sigmask, 0);
if (!abbrev(tcp)) {
tprintf(", uc_stack={ss_sp=%#lx, ss_size=%d, ss_flags=",
(unsigned long) ucp->uc_stack.ss_sp,