]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define SIGCONTEXT_EXTRA_ARGS.
authorUlrich Drepper <drepper@redhat.com>
Mon, 23 Aug 1999 17:51:34 +0000 (17:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 23 Aug 1999 17:51:34 +0000 (17:51 +0000)
sysdeps/generic/sigcontextinfo.h
sysdeps/mach/hurd/i386/sigcontextinfo.h
sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h

index 9623599698a73a4f3ac6b051ac24f475f086d683..a33aadfed1e4092b06af0d5f7e6488fd5e5ebae5 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -19,6 +19,7 @@
 
 /* In general we cannot provide any information.  */
 #define SIGCONTEXT struct sigcontext *
+#define SIGCONTEXT_EXTRA_ARGS
 #define GET_PC(ctx)    ((void *) 0)
 #define GET_FRAME(ctx) ((void *) 0)
 #define GET_STACK(ctx) ((void *) 0)
index 6dd80f25ea5caf02dc0eebd4a0028d8ae34c6565..008be707060fa977bf0e7aaac625598864d8a000 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #define SIGCONTEXT struct sigcontext
+#define SIGCONTEXT_EXTRA_ARGS
 #define GET_PC(ctx)    ((void *) (ctx).sc_eip)
 #define GET_FRAME(ctx) ((void *) (ctx).sc_ebp)
 #define GET_STACK(ctx) ((void *) (ctx).sc_uesp)
index 3125e9ba9b0d3486085a079a848e9bf6a36e4398..19c35a4624b3a3126efd9d81cdfd78ed9cebf2bc 100644 (file)
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #define SIGCONTEXT struct sigcontext
+#define SIGCONTEXT_EXTRA_ARGS
 #define GET_PC(ctx)    ((void *) (ctx).sc_pc)
 #define GET_FRAME(ctx) ((void *) (ctx).sc_regs[15])
 #define GET_STACK(ctx) ((void *) (ctx).sc_regs[30])
index d92c9fadf15e7ef3da29a685a08a0e1c38dcd2a8..51788e0e51f0769413a50e9eb642d41842a6d70e 100644 (file)
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #define SIGCONTEXT int _a2, int _a3, int _a4, union k_sigcontext
+#define SIGCONTEXT_EXTRA_ARGS _a2, _a3, _a4,
 
 #define GET_PC(ctx)    ((void *)((ctx.v20.magic == SIGCONTEXT_2_0_MAGIC) ? \
                         ctx.v20.reg.ARM_pc : ctx.v21.arm_pc))
index 6560b9441efefdc7b57b01d107ca39877f226884..42c18b22bbceb9fd64972cee80ec7abddbcdf104 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #define SIGCONTEXT struct sigcontext
+#define SIGCONTEXT_EXTRA_ARGS
 #define GET_PC(ctx)    ((void *) ctx.eip)
 #define GET_FRAME(ctx) ((void *) ctx.ebp)
 #define GET_STACK(ctx) ((void *) ctx.esp_at_signal)
index bdef810a235c614cd9dd4b527bb723da850de48f..86bf934c516896fcc6fc15dd5975377aeec3c35a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>, 1998.
 
@@ -17,7 +17,8 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#define SIGCONTEXT int code, struct sigcontext *
+#define SIGCONTEXT int _code, struct sigcontext *
+#define SIGCONTEXT_EXTRA_ARGS _code,
 #define GET_PC(ctx)    ((void *) (ctx)->sc_pc)
 #define GET_FRAME(ctx) ((void *) __builtin_frame_address (1))
 #define GET_STACK(ctx) ((void *) (ctx)->sc_usp)
index 33a3c817d7a51d4629e51ce69dec5c5f58e27ed3..644a0c259b9a90d0eccb2bee07d8b44b5e153a04 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -19,6 +19,7 @@
 #include <signal.h>
 
 #define SIGCONTEXT struct sigcontext *
+#define SIGCONTEXT_EXTRA_ARGS
 #define GET_PC(ctx)    ((void *)((ctx)->regs->nip))
 #define GET_FRAME(ctx) (*(void **)((ctx)->regs->gpr[1]))
 #define GET_STACK(ctx) ((void *)((ctx)->regs->gpr[1]))
index 24629d3a0791ec579a69f51c2dc8c818a6a6202a..4e8fcd7871d72deb6b33119a5dc53c7f8608831b 100644 (file)
@@ -18,6 +18,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #define SIGCONTEXT __siginfo_t *
+#define SIGCONTEXT_EXTRA_ARGS
 #define GET_PC(__ctx)  ((void *) ((__ctx)->si_regs.pc))
 #define ADVANCE_STACK_FRAME(__next) \
        ((void *)&(((struct reg_window *) (__next))->ins[6]))