From: Stan Shebs Date: Wed, 6 Mar 1996 02:58:19 +0000 (+0000) Subject: * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d009ffd8acc7ab9e70ca096925a9512d944a0232;p=binutils-gdb.git * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here instead of in config/m68k/xm-hp300hpux.h. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 98549acca90..e40e124428d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 5 18:54:04 1996 Stan Shebs + + * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here + instead of in config/m68k/xm-hp300hpux.h. + Tue Mar 5 12:05:35 1996 J.T. Conklin * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide diff --git a/gdb/config/m68k/nm-hp300hpux.h b/gdb/config/m68k/nm-hp300hpux.h index 1e1f225d4b7..83e7b2bfba8 100644 --- a/gdb/config/m68k/nm-hp300hpux.h +++ b/gdb/config/m68k/nm-hp300hpux.h @@ -42,3 +42,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ addr = (int) (((struct proc_regs *)(blockend))->p_float \ + (regno) - FPC_REGNUM); \ } + +/* HPUX 8.0, in its infinite wisdom, has chosen to prototype ptrace + with five arguments, so programs written for normal ptrace lose. + + Idiots. + + (They should have just made it varadic). */ + +#define FIVE_ARG_PTRACE diff --git a/gdb/config/m68k/xm-hp300hpux.h b/gdb/config/m68k/xm-hp300hpux.h index c84282e32ea..fc29638677d 100644 --- a/gdb/config/m68k/xm-hp300hpux.h +++ b/gdb/config/m68k/xm-hp300hpux.h @@ -19,14 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define HOST_BYTE_ORDER BIG_ENDIAN -/* HPUX 8.0, in its infinite wisdom, has chosen to prototype ptrace - with five arguments, so programs written for normal ptrace lose. - - Idiots. - - (They should have just made it varadic). */ -#define FIVE_ARG_PTRACE - /* Define this to indicate problems with traps after continuing. */ #define HP_OS_BUG