diff options
Diffstat (limited to 'gdb/alpha-nat.c')
-rw-r--r-- | gdb/alpha-nat.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/alpha-nat.c b/gdb/alpha-nat.c index 874a43e..6e05781 100644 --- a/gdb/alpha-nat.c +++ b/gdb/alpha-nat.c @@ -1,5 +1,5 @@ /* Low level Alpha interface, for GDB when running native. - Copyright 1993, 1995 Free Software Foundation, Inc. + Copyright 1993, 1995, 1996 Free Software Foundation, Inc. This file is part of GDB. @@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "target.h" #include <sys/ptrace.h> #include <machine/reg.h> +#include <sys/user.h> /* Size of elements in jmpbuf */ @@ -143,6 +144,12 @@ register_addr (regno, blockend) return REGISTER_PTRACE_ADDR (regno); } +int +kernel_u_size () +{ + return (sizeof (struct user)); +} + #ifdef USE_PROC_FS #include <sys/procfs.h> |