Skip to content

Commit

Permalink
printcontext should pass sigmask addr to printsigmask
Browse files Browse the repository at this point in the history
  • Loading branch information
John Hughes authored and John Hughes committed May 15, 2001
1 parent aa09c6b commit 70c5e7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion signal.c
Expand Up @@ -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,
Expand Down

0 comments on commit 70c5e7a

Please sign in to comment.