aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-03-06 02:58:19 +0000
committerStan Shebs <shebs@codesourcery.com>1996-03-06 02:58:19 +0000
commitd009ffd8acc7ab9e70ca096925a9512d944a0232 (patch)
treecbf966ae2c291e4904307404d72b4226953200f5 /gdb/config
parent45061b1e5933bca08500b2d6a8e14781027ee580 (diff)
downloadgdb-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.h9
-rw-r--r--gdb/config/m68k/xm-hp300hpux.h8
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