aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-14 23:56:49 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-14 23:56:49 +0000
commit016ddeca84e6d654f115524e8f561059131462e8 (patch)
tree2b2b30c28af094822e7bc0c41be9cdf5474d490a /gdb
parent49ec097fd58331c72a568b41464098272a0453f0 (diff)
downloadgdb-016ddeca84e6d654f115524e8f561059131462e8.zip
gdb-016ddeca84e6d654f115524e8f561059131462e8.tar.gz
gdb-016ddeca84e6d654f115524e8f561059131462e8.tar.bz2
* config/nm-bsd.h (PTRACE_ARG3_TYPE): Remove define.
* config/nm-nbsd.h: Update copyright year. (PTRACE_ARG3_TYPE): Remove define.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/config/nm-bsd.h3
-rw-r--r--gdb/config/nm-nbsd.h5
3 files changed, 6 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 35fcf0f..9e4e10e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2004-08-15 Mark Kettenis <kettenis@gnu.org>
+ * 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 ca349a4..6597d0e 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 e895abc..72f49c9 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. */