about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/i386/sigcontextinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/i386/sigcontextinfo.h')
-rw-r--r--sysdeps/mach/hurd/i386/sigcontextinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/sigcontextinfo.h b/sysdeps/mach/hurd/i386/sigcontextinfo.h
index 008be70706..68a36bf92d 100644
--- a/sysdeps/mach/hurd/i386/sigcontextinfo.h
+++ b/sysdeps/mach/hurd/i386/sigcontextinfo.h
@@ -21,3 +21,5 @@
 #define GET_PC(ctx)	((void *) (ctx).sc_eip)
 #define GET_FRAME(ctx)	((void *) (ctx).sc_ebp)
 #define GET_STACK(ctx)	((void *) (ctx).sc_uesp)
+#define CALL_SIGHANDLER(handler, signo, ctx) \
+  (handler)((signo), SIGCONTEXT_EXTRA_ARGS (ctx))