summaryrefslogtreecommitdiffstats
path: root/gdb/alpha-nat.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-05-26 23:22:41 +0000
committerMichael Snyder <msnyder@vmware.com>2000-05-26 23:22:41 +0000
commitc60c0f5f8841d467149bdf0980bd17fb1246ca51 (patch)
tree1ea824d589d4ac0b2e5f62c5f9963a9867d9e803 /gdb/alpha-nat.c
parenta799cbe2740f55a797085b0c67b69eaae6745940 (diff)
downloadppe42-binutils-c60c0f5f8841d467149bdf0980bd17fb1246ca51.tar.gz
ppe42-binutils-c60c0f5f8841d467149bdf0980bd17fb1246ca51.zip
2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>
* 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/alpha-nat.c')
-rw-r--r--gdb/alpha-nat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/alpha-nat.c b/gdb/alpha-nat.c
index 089e56fea1..e1b6e4e66a 100644
--- a/gdb/alpha-nat.c
+++ b/gdb/alpha-nat.c
@@ -199,6 +199,9 @@ kernel_u_size ()
#if defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)
#include <sys/procfs.h>
+/* Prototypes for supply_gregset etc. */
+#include "gregset.h"
+
/*
* See the comment in m68k-tdep.c regarding the utility of these functions.
*/
OpenPOWER on IntegriCloud