summaryrefslogtreecommitdiff
path: root/gdb/ptx4-nat.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2000-05-26 23:22:41 +0000
committerMichael Snyder <msnyder@specifix.com>2000-05-26 23:22:41 +0000
commitb25fcc020b2d009c63e29b7655a7534507a50f88 (patch)
treead73417a36efd5a3f0f263d155e74508593ab33b /gdb/ptx4-nat.c
parentf33f4e5db13d9928c00ebcefdd8fb295ca8107d7 (diff)
downloadgdb-b25fcc020b2d009c63e29b7655a7534507a50f88.tar.gz
2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>gdb-pre-params-removal-2000-05-28
* gregset.h: New file. Typedefs for gdb_gregset_t and gdb_fpregset_t, prototypes for supply_gregset and friends. * procfs.c: Include gregset.h. Delete local prototypes for supply_gregset etc., and local typedef gdb_gregset_t etc. * sol-thread.c: Include gregset.h, delete local prototypes, add appropriate casts to gdb_gregset_t. * uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c, sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c, m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c, irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c, arm-linux-nat.c, alpha-nat.c: Include gregset.h. * config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T. * config/sparc/tm-sun4sol2.h: Ditto.
Diffstat (limited to 'gdb/ptx4-nat.c')
-rw-r--r--gdb/ptx4-nat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/ptx4-nat.c b/gdb/ptx4-nat.c
index a7acee27149..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. */