As of glibc 2.16, "struct siginfo" is no longer supported,
and "siginfo_t" must be used instead.

Signed-off-by: Chris Metcalf <[email protected]>
---
 signal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/signal.c b/signal.c
index cc1d511..55815aa 100644
--- a/signal.c
+++ b/signal.c
@@ -971,7 +971,7 @@ sys_sigreturn(struct tcb *tcp)
                sigset_t sigm;
 
                /* offset of ucontext in the kernel's sigframe structure */
-#              define SIGFRAME_UC_OFFSET C_ABI_SAVE_AREA_SIZE + sizeof(struct 
siginfo)
+#              define SIGFRAME_UC_OFFSET C_ABI_SAVE_AREA_SIZE + 
sizeof(siginfo_t)
                if (umove(tcp, tile_regs.sp + SIGFRAME_UC_OFFSET, &uc) < 0)
                        return 0;
                sigemptyset(&sigm);
-- 
1.7.10.3


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to