aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64fbsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-08-11 16:55:21 +0000
committerMark Kettenis <kettenis@gnu.org>2003-08-11 16:55:21 +0000
commitb246147cd381994da11d762f3e204a97ec00ef9a (patch)
treef78cfadd0fa60b36d8259e0e0fda8144f39f16ad /gdb/amd64fbsd-nat.c
parentd989285ca3dddb7c8e1a36a7e3d93d9f58c5756b (diff)
downloadfsf-binutils-gdb-b246147cd381994da11d762f3e204a97ec00ef9a.zip
fsf-binutils-gdb-b246147cd381994da11d762f3e204a97ec00ef9a.tar.gz
fsf-binutils-gdb-b246147cd381994da11d762f3e204a97ec00ef9a.tar.bz2
* x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end,
amd64fbsd_sc_reg_offset): Add extern declarations. * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern declarations.
Diffstat (limited to 'gdb/amd64fbsd-nat.c')
-rw-r--r--gdb/amd64fbsd-nat.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/amd64fbsd-nat.c b/gdb/amd64fbsd-nat.c
index 7880e58..71861d9 100644
--- a/gdb/amd64fbsd-nat.c
+++ b/gdb/amd64fbsd-nat.c
@@ -223,7 +223,6 @@ _initialize_am64fbsd_nat (void)
system header files and sysctl(3) to get at the relevant
information. */
- extern int amd64fbsd_sc_reg_offset[];
#define SC_REG_OFFSET amd64fbsd_sc_reg_offset
/* We only check the program counter, stack pointer and frame
@@ -285,9 +284,6 @@ Please report this to <bug-gdb@gnu.org>.",
int ps_strings;
size_t len;
- extern CORE_ADDR amd64fbsd_sigtramp_start;
- extern CORE_ADDR amd64fbsd_sigtramp_end;
-
mib[0] = CTL_KERN;
mib[1] = KERN_PS_STRINGS;
len = sizeof (ps_strings);