* 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:
parent
d989285ca3
commit
b246147cd3
3 changed files with 13 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue