aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/nm-sun4os4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/sparc/nm-sun4os4.h')
-rw-r--r--gdb/config/sparc/nm-sun4os4.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/config/sparc/nm-sun4os4.h b/gdb/config/sparc/nm-sun4os4.h
index d34b733..1b7fabb 100644
--- a/gdb/config/sparc/nm-sun4os4.h
+++ b/gdb/config/sparc/nm-sun4os4.h
@@ -1,5 +1,5 @@
/* Macro definitions for running gdb on a Sun 4 running sunos 4.
- Copyright (C) 1989, 1992, Free Software Foundation, Inc.
+ Copyright (C) 1989, 1992, 1996 Free Software Foundation, Inc.
This file is part of GDB.
@@ -25,3 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define FETCH_INFERIOR_REGISTERS
+/* Return sizeof user struct to callers in less machine dependent routines */
+
+#define KERNEL_U_SIZE kernel_u_size()
+extern int kernel_u_size PARAMS ((void));