aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/nm-sun4sol2.h
diff options
context:
space:
mode:
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