diff options
author | Andreas Jaeger <aj@suse.de> | 2001-01-15 07:02:28 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-01-15 07:02:28 +0000 |
commit | cccfc8e92962440744160991e440fa78c0456408 (patch) | |
tree | 5a8f7a790db6fce5c345f8ccd591cde4bf570f2c /sysdeps/unix | |
parent | b82d4f727f308e837d9eafc36f89326735b2fec6 (diff) | |
download | glibc-cccfc8e92962440744160991e440fa78c0456408.zip glibc-cccfc8e92962440744160991e440fa78c0456408.tar.gz glibc-cccfc8e92962440744160991e440fa78c0456408.tar.bz2 |
* sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
Change type of CTX to (struct sigcontext *).
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
(GET_FRAME): Likewise.
(GET_STACK): Likewise.
(SIGCONTEXT): Likewise. Add 2nd arg _code.
(SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/register-dump.h | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/sigcontextinfo.h | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/register-dump.h b/sysdeps/unix/sysv/linux/mips/register-dump.h index e204223..53c59c8 100644 --- a/sysdeps/unix/sysv/linux/mips/register-dump.h +++ b/sysdeps/unix/sysv/linux/mips/register-dump.h @@ -1,5 +1,5 @@ /* Dump registers. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@suse.de>, 2000. @@ -105,4 +105,4 @@ register_dump (int fd, struct sigcontext *ctx) } -#define REGISTER_DUMP register_dump (fd, &ctx) +#define REGISTER_DUMP register_dump (fd, ctx) diff --git a/sysdeps/unix/sysv/linux/mips/sigcontextinfo.h b/sysdeps/unix/sysv/linux/mips/sigcontextinfo.h index 9b3e7ea..e1ee528 100644 --- a/sysdeps/unix/sysv/linux/mips/sigcontextinfo.h +++ b/sysdeps/unix/sysv/linux/mips/sigcontextinfo.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@suse.de>, 2000. @@ -18,8 +18,8 @@ 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[30]) -#define GET_STACK(ctx) ((void *) ctx.sc_regs[29]) +#define SIGCONTEXT unsigned long _code, struct sigcontext +#define SIGCONTEXT_EXTRA_ARGS _code, +#define GET_PC(ctx) ((void *) ctx->sc_pc) +#define GET_FRAME(ctx) ((void *) ctx->sc_regs[30]) +#define GET_STACK(ctx) ((void *) ctx->sc_regs[29]) |