From 016ddeca84e6d654f115524e8f561059131462e8 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 14 Aug 2004 23:56:49 +0000 Subject: [PATCH] * config/nm-bsd.h (PTRACE_ARG3_TYPE): Remove define. * config/nm-nbsd.h: Update copyright year. (PTRACE_ARG3_TYPE): Remove define. --- gdb/ChangeLog | 4 ++++ gdb/config/nm-bsd.h | 3 --- gdb/config/nm-nbsd.h | 5 ++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 35fcf0f672d..9e4e10e278c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2004-08-15 Mark Kettenis + * config/nm-bsd.h (PTRACE_ARG3_TYPE): Remove define. + * config/nm-nbsd.h: Update copyright year. + (PTRACE_ARG3_TYPE): Remove define. + * sparc-nat.c (fetch_inferior_registers) (store_inferior_registers, sparc_xfer_wcookie): Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. diff --git a/gdb/config/nm-bsd.h b/gdb/config/nm-bsd.h index ca349a4ffd0..6597d0edabe 100644 --- a/gdb/config/nm-bsd.h +++ b/gdb/config/nm-bsd.h @@ -19,8 +19,5 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* Type of the third argument to the `ptrace' system call. */ -#define PTRACE_ARG3_TYPE caddr_t - /* Override copies of {fetch,store}_inferior_registers in `infptrace.c'. */ #define FETCH_INFERIOR_REGISTERS diff --git a/gdb/config/nm-nbsd.h b/gdb/config/nm-nbsd.h index e895abc8a42..72f49c971e9 100644 --- a/gdb/config/nm-nbsd.h +++ b/gdb/config/nm-nbsd.h @@ -1,5 +1,6 @@ /* Native-dependent definitions for NetBSD. - Copyright 1994, 1996, 1999 Free Software Foundation, Inc. + + Copyright 1994, 1996, 1999, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -18,8 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define PTRACE_ARG3_TYPE char* - #define FETCH_INFERIOR_REGISTERS #include "solib.h" /* Support for shared libraries. */ -- 2.30.2