aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386v-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386v-nat.c')
-rw-r--r--gdb/i386v-nat.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/i386v-nat.c b/gdb/i386v-nat.c
index e2ca832..38468a9 100644
--- a/gdb/i386v-nat.c
+++ b/gdb/i386v-nat.c
@@ -1,5 +1,5 @@
/* Intel 386 native support for SYSV systems (pre-SVR4).
- Copyright (C) 1988, 1989, 1991, 1992, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1989, 1991, 1992, 1994, 1996 Free Software Foundation, Inc.
This file is part of GDB.
@@ -93,6 +93,12 @@ i386_register_u_addr (blockend, regnum)
}
+int
+kernel_u_size ()
+{
+ return (sizeof (struct user));
+}
+
#ifdef TARGET_HAS_HARDWARE_WATCHPOINTS
#if !defined (offsetof)