aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386bsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-01-12 20:36:59 +0000
committerMark Kettenis <kettenis@gnu.org>2005-01-12 20:36:59 +0000
commit8b1ca062713c30f40c1fb4ab889f048a97c38f3b (patch)
treeef18d59c1b137c9a7aa38f7143f345215e1ba979 /gdb/i386bsd-nat.c
parent9df48ba9fdf995d2d8c082e568010e817ec684fe (diff)
downloadgdb-8b1ca062713c30f40c1fb4ab889f048a97c38f3b.zip
gdb-8b1ca062713c30f40c1fb4ab889f048a97c38f3b.tar.gz
gdb-8b1ca062713c30f40c1fb4ab889f048a97c38f3b.tar.bz2
* i386bsd-nat.c: Update copyright year. Don't include
<sys/param.h> and <sys/user.h>. (register_u_addr, kernel_u_size): Remove functions. * config/i386/obsd.mh (NAT_FILE): Remove. * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h. * config/i386/nm-obsd.h: Remove file.
Diffstat (limited to 'gdb/i386bsd-nat.c')
-rw-r--r--gdb/i386bsd-nat.c27
1 files changed, 2 insertions, 25 deletions
diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c
index 349112a..97e3304 100644
--- a/gdb/i386bsd-nat.c
+++ b/gdb/i386bsd-nat.c
@@ -1,6 +1,7 @@
/* Native-dependent code for modern i386 BSD's.
- Copyright 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright 2000, 2001, 2002, 2003, 2004, 2005
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -330,30 +331,6 @@ i386bsd_dr_get_status (void)
#endif /* PT_GETDBREGS */
-/* Support for the user struct. */
-
-/* Return the address register REGNUM. BLOCKEND is the value of
- u.u_ar0, which should point to the registers. */
-
-CORE_ADDR
-register_u_addr (CORE_ADDR blockend, int regnum)
-{
- gdb_assert (regnum >= 0 && regnum < ARRAY_SIZE (i386bsd_r_reg_offset));
-
- return blockend + i386bsd_r_reg_offset[regnum];
-}
-
-#include <sys/param.h>
-#include <sys/user.h>
-
-/* Return the size of the user struct. */
-
-int
-kernel_u_size (void)
-{
- return (sizeof (struct user));
-}
-
void
_initialize_i386bsd_nat (void)
{