* config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):

Remove defines.
This commit is contained in:
Mark Kettenis 2004-08-22 15:38:37 +00:00
parent 652fc1376f
commit 25f6178efd
2 changed files with 3 additions and 8 deletions

View File

@ -1,5 +1,8 @@
2004-08-22 Mark Kettenis <kettenis@gnu.org>
* config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
Remove defines.
* infptrace.c: Include "gdb_assert.h".
(PTRACE_XFER_TYPE): Remove define.
(offsetof): Only define if U_REGS_OFFSET isn't defined.

View File

@ -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