This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] s/PTRACE_ARG3_TYPE/PTRACE_TYPE_ARG3/g step 4
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 15 Aug 2004 01:56:52 +0200 (CEST)
- Subject: [PATCH] s/PTRACE_ARG3_TYPE/PTRACE_TYPE_ARG3/g step 4
This takes care of the *BSD nm.h files.
Committed,
Mark
Index: ChangeLog
from 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.
Index: config/nm-bsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/nm-bsd.h,v
retrieving revision 1.2
diff -u -p -r1.2 nm-bsd.h
--- config/nm-bsd.h 8 Jun 2004 19:58:12 -0000 1.2
+++ config/nm-bsd.h 14 Aug 2004 23:55:55 -0000
@@ -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
Index: config/nm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/nm-nbsd.h,v
retrieving revision 1.4
diff -u -p -r1.4 nm-nbsd.h
--- config/nm-nbsd.h 8 Jun 2004 19:58:12 -0000 1.4
+++ config/nm-nbsd.h 14 Aug 2004 23:55:55 -0000
@@ -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. */