* 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.
This commit is contained in:
Mark Kettenis 2003-08-11 16:55:21 +00:00
parent d989285ca3
commit b246147cd3
3 changed files with 13 additions and 4 deletions

View file

@ -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.

View file

@ -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);

View file

@ -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 */