diff options
author | Stan Shebs <shebs@codesourcery.com> | 1996-03-06 02:58:19 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1996-03-06 02:58:19 +0000 |
commit | d009ffd8acc7ab9e70ca096925a9512d944a0232 (patch) | |
tree | cbf966ae2c291e4904307404d72b4226953200f5 /gdb/config | |
parent | 45061b1e5933bca08500b2d6a8e14781027ee580 (diff) | |
download | gdb-d009ffd8acc7ab9e70ca096925a9512d944a0232.zip gdb-d009ffd8acc7ab9e70ca096925a9512d944a0232.tar.gz gdb-d009ffd8acc7ab9e70ca096925a9512d944a0232.tar.bz2 |
* config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
instead of in config/m68k/xm-hp300hpux.h.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/m68k/nm-hp300hpux.h | 9 | ||||
-rw-r--r-- | gdb/config/m68k/xm-hp300hpux.h | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/gdb/config/m68k/nm-hp300hpux.h b/gdb/config/m68k/nm-hp300hpux.h index 1e1f225..83e7b2b 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 c84282e..fc29638 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 |