aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/nm-sun4sol2.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-30 00:03:57 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-30 00:03:57 +0000
commit0a415da9b78a2d0074ba0a193b196f1f600e95a8 (patch)
tree6d02d96254c039770d5f318b9d8bf36654ac9835 /gdb/config/sparc/nm-sun4sol2.h
parent43841e9116d121fa81a351b66ec9e0821a1b4be8 (diff)
downloadgdb-0a415da9b78a2d0074ba0a193b196f1f600e95a8.zip
gdb-0a415da9b78a2d0074ba0a193b196f1f600e95a8.tar.gz
gdb-0a415da9b78a2d0074ba0a193b196f1f600e95a8.tar.bz2
Move/rename GDB_GREGSET_T definitions for solaris 2.
Diffstat (limited to 'gdb/config/sparc/nm-sun4sol2.h')
-rw-r--r--gdb/config/sparc/nm-sun4sol2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/sparc/nm-sun4sol2.h b/gdb/config/sparc/nm-sun4sol2.h
index 4a24710..2107075 100644
--- a/gdb/config/sparc/nm-sun4sol2.h
+++ b/gdb/config/sparc/nm-sun4sol2.h
@@ -30,6 +30,13 @@
#define PRSVADDR_BROKEN
+/* gdb wants to use the prgregset_t interface rather than
+ the gregset_t interface, partly because that's what's
+ used in core-sol2.c */
+
+#define GDB_GREGSET_T prgregset_t
+#define GDB_FPREGSET_T prfpregset_t
+
#ifdef NEW_PROC_API /* Solaris 6 and above can do HW watchpoints */
#define TARGET_HAS_HARDWARE_WATCHPOINTS