This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] GNU/Linux Alpha PTRACE_ARG3_TYPE and PTRACE_XFER_TYPE cleanup
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 22 Aug 2004 17:39:32 +0200 (CEST)
- Subject: [PATCH] GNU/Linux Alpha PTRACE_ARG3_TYPE and PTRACE_XFER_TYPE cleanup
These defines are useless now.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
Remove defines.
Index: config/alpha/nm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/nm-linux.h,v
retrieving revision 1.14
diff -u -p -r1.14 nm-linux.h
--- config/alpha/nm-linux.h 2 Jun 2003 20:57:16 -0000 1.14
+++ config/alpha/nm-linux.h 22 Aug 2004 15:36:43 -0000
@@ -29,14 +29,6 @@
#define U_REGS_OFFSET 0
-/* FIXME: This is probably true, or should be, on all GNU/Linux ports.
- IA64? Sparc64? */
-#define PTRACE_ARG3_TYPE long
-
-/* ptrace transfers longs, the ptrace man page is lying. */
-
-#define PTRACE_XFER_TYPE long
-
/* The alpha does not step over a breakpoint, the manpage is lying again. */
#define CANNOT_STEP_BREAKPOINT 1