From 70c5e7aa48c4f4c22bbc3396f8b2279c76e9cfba Mon Sep 17 00:00:00 2001 From: John Hughes Date: Tue, 15 May 2001 15:09:14 +0000 Subject: [PATCH] printcontext should pass sigmask addr to printsigmask --- ChangeLog | 5 +++++ signal.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 86c65dac..e775e488 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-05-15 John Hughes + + * 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 * util.c: Don't run off the end of valid memory in umovestr when diff --git a/signal.c b/signal.c index 4a676a19..4ab56bba 100644 --- a/signal.c +++ b/signal.c @@ -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, -- 2.50.1