diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-08-11 16:55:21 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-08-11 16:55:21 +0000 |
commit | b246147cd381994da11d762f3e204a97ec00ef9a (patch) | |
tree | f78cfadd0fa60b36d8259e0e0fda8144f39f16ad /gdb | |
parent | d989285ca3dddb7c8e1a36a7e3d93d9f58c5756b (diff) | |
download | gdb-b246147cd381994da11d762f3e204a97ec00ef9a.zip gdb-b246147cd381994da11d762f3e204a97ec00ef9a.tar.gz 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')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/amd64fbsd-nat.c | 4 | ||||
-rw-r--r-- | gdb/x86-64-tdep.h | 6 |
3 files changed, 13 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8f2cb83..ce42a29 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2003-08-10 Mark Kettenis <kettenis@gnu.org> + + * 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. + 2003-08-11 Ben Elliston <bje@wasabisystems.com> * MAINTAINERS (write after approval): Update my mail address. 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); diff --git a/gdb/x86-64-tdep.h b/gdb/x86-64-tdep.h index 7ad6990..608219c 100644 --- a/gdb/x86-64-tdep.h +++ b/gdb/x86-64-tdep.h @@ -60,5 +60,11 @@ void x86_64_supply_fxsave (char *fxsave); reserved bits in *FXSAVE. */ void x86_64_fill_fxsave (char *fxsave, int regnum); + + +/* Variables exported from amd64fbsd-tdep.c. */ +extern CORE_ADDR amd64fbsd_sigtramp_start; +extern CORE_ADDR amd64fbsd_sigtramp_end; +extern int amd64fbsd_sc_reg_offset[]; #endif /* x86-64-tdep.h */ |