diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-08-10 18:32:09 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-08-10 18:32:09 +0000 |
commit | e2dbbd2d95f3a746402f3285a880c875fe1fef4a (patch) | |
tree | f1d0a1abde33395d15f73ae09e79fc85f6e7a889 /gdb/i386bsd-nat.c | |
parent | f837910f91f680e0058a04a19442986c098cc30a (diff) | |
download | gdb-e2dbbd2d95f3a746402f3285a880c875fe1fef4a.zip gdb-e2dbbd2d95f3a746402f3285a880c875fe1fef4a.tar.gz gdb-e2dbbd2d95f3a746402f3285a880c875fe1fef4a.tar.bz2 |
* 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/i386bsd-nat.c')
-rw-r--r-- | gdb/i386bsd-nat.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c index cd94a21..0fc66fc 100644 --- a/gdb/i386bsd-nat.c +++ b/gdb/i386bsd-nat.c @@ -1,5 +1,5 @@ /* Native-dependent code for modern i386 BSD's. - Copyright 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of GDB. @@ -395,19 +395,14 @@ _initialize_i386bsd_nat (void) information. */ #if defined (__FreeBSD_version) && __FreeBSD_version >= 400011 - extern int i386fbsd4_sc_reg_offset[]; #define SC_REG_OFFSET i386fbsd4_sc_reg_offset #elif defined (__FreeBSD_version) && __FreeBSD_version >= 300005 - extern int i386fbsd_sc_reg_offset[]; #define SC_REG_OFFSET i386fbsd_sc_reg_offset #elif defined (NetBSD) || defined (__NetBSD_Version__) - extern int i386nbsd_sc_reg_offset[]; #define SC_REG_OFFSET i386nbsd_sc_reg_offset #elif defined (OpenBSD) - extern int i386obsd_sc_reg_offset[]; #define SC_REG_OFFSET i386obsd_sc_reg_offset #else - extern int i386bsd_sc_reg_offset[]; #define SC_REG_OFFSET i386bsd_sc_reg_offset #endif |