summaryrefslogtreecommitdiff
path: root/gdb/i386obsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-08-10 18:32:09 +0000
committerMark Kettenis <kettenis@gnu.org>2003-08-10 18:32:09 +0000
commitcccf890c6fca6c8441ec436632cdf4ef23cf3d81 (patch)
treec8ce1758783f57407fc6263ce2353856f61604eb /gdb/i386obsd-nat.c
parent6da2dab71e68d69267da6766c4008f989ffd817d (diff)
downloadgdb-cccf890c6fca6c8441ec436632cdf4ef23cf3d81.tar.gz
* i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386obsd_sigtramp_start, i386obsd_sigtramp_end, i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, i386bsd_sc_reg_offset): Add extern declarations. * i386obsd-nat.c: Include "i386-tdep.h" (_initialize_i386obsd_nat): Remove extern declarations. * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern declarations. * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern declarations.
Diffstat (limited to 'gdb/i386obsd-nat.c')
-rw-r--r--gdb/i386obsd-nat.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/i386obsd-nat.c b/gdb/i386obsd-nat.c
index b2cdc2a7e58..b0d4e033b8d 100644
--- a/gdb/i386obsd-nat.c
+++ b/gdb/i386obsd-nat.c
@@ -1,5 +1,5 @@
/* Native-dependent code for OpenBSD/i386.
- Copyright 2002 Free Software Foundation, Inc.
+ Copyright 2002, 2003 Free Software Foundation, Inc.
This file is part of GDB.
@@ -23,6 +23,8 @@
#include <sys/param.h>
#include <sys/sysctl.h>
+#include "i386-tdep.h"
+
/* Prevent warning from -Wmissing-prototypes. */
void _initialize_i386obsd_nat (void);
@@ -44,9 +46,6 @@ _initialize_i386obsd_nat (void)
int mib[2];
size_t len;
- extern CORE_ADDR i386obsd_sigtramp_start;
- extern CORE_ADDR i386obsd_sigtramp_end;
-
mib[0] = CTL_VM;
mib[1] = VM_PSSTRINGS;
len = sizeof (_ps);