diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-08-22 15:38:37 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-08-22 15:38:37 +0000 |
commit | 25f6178efdb0130d272e2469a3514803a5dd39d1 (patch) | |
tree | ccab01bb1569b1cda2098fcf5b79b92e9d7ac9ce | |
parent | 652fc1376fd78a267ed4fb74da5bcdcd27a6818a (diff) | |
download | gdb-25f6178efdb0130d272e2469a3514803a5dd39d1.zip gdb-25f6178efdb0130d272e2469a3514803a5dd39d1.tar.gz gdb-25f6178efdb0130d272e2469a3514803a5dd39d1.tar.bz2 |
* config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
Remove defines.
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/config/alpha/nm-linux.h | 8 |
2 files changed, 3 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 61f5edc..d5b8d19 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/config/alpha/nm-linux.h b/gdb/config/alpha/nm-linux.h index a6f9a49..1958958 100644 --- a/gdb/config/alpha/nm-linux.h +++ b/gdb/config/alpha/nm-linux.h @@ -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 |