summaryrefslogtreecommitdiff
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
commit1cbf1d293af36d126ed579c777e19516688d290d (patch)
treec0dbfbe2c16053f33353c2535c67be014aa90344 /gdb/i386bsd-nat.c
parent05de8ca3c860f0d05b9a89f1af23f4185fc74420 (diff)
downloadgdb-1cbf1d293af36d126ed579c777e19516688d290d.tar.gz
* 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 349112a4ad0..97e330448a5 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)
{