summaryrefslogtreecommitdiff
path: root/gdb/ptx4-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ptx4-nat.c')
-rw-r--r--gdb/ptx4-nat.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/ptx4-nat.c b/gdb/ptx4-nat.c
index 9640d283eba..2ff79953eb2 100644
--- a/gdb/ptx4-nat.c
+++ b/gdb/ptx4-nat.c
@@ -26,6 +26,9 @@
#include <sys/param.h>
#include <fcntl.h>
+/* Prototypes for supply_gregset etc. */
+#include "gregset.h"
+
/* Given a pointer to a general register set in /proc format (gregset_t *),
unpack the register contents and supply them as gdb's idea of the current
register values. */
@@ -62,8 +65,6 @@ fill_gregset (gregsetp, regno)
}
}
-#if defined (FP0_REGNUM)
-
/* Given a pointer to a floating point register set in /proc format
(fpregset_t *), unpack the register contents and supply them as gdb's
idea of the current floating point register values. */
@@ -93,8 +94,6 @@ fill_fpregset (fpregsetp, regno)
/* FIXME: see m68k-tdep.c for an example, for the m68k. */
}
-#endif /* defined (FP0_REGNUM) */
-
/*
* This doesn't quite do the same thing as the procfs.c version, but give
* it the same name so we don't have to put an ifdef in solib.c.