mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
* sparc-nat.c: Include "inf-ptrace.h".
(sparc_target): New function. * sparc-nat.h: Update copyright year. (sparc_target): New prototype. * sparcnbsd-nat.c: Don't include "gdbcore.h", include "target.h". (_initialize_sparcnbsd_nat): Construct and add target vector. * sparc64nbsd-nat.c: Include "target.h". (_initialize_sparc64nbsd_nat): Construct and add target vector. * Makefile.in (sparc-nat.o, sparcnbsd-nat.o, sparc64nbsd-nat.o): Update dependencies. * config/sparc/nbsd64.mh (NATDEPFILES): Remove infptrace.o and inftarg.o, add inf-ptrace.o. * config/sparc/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and inftarg.o, add inf-ptrace.o and bsd-kvm.o. (NAT_FILE): Set to nm-bsd.h. (LOADLIBES): New variable. * config/sparc/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and infarg.o, add inf-ptrace.o. * config/sparc/nm-nbsdaout.h: Remove file. * config/sparc/fbsd.mh (NATDEPFILES): Add inf-ptrace.o. * config/sparc/linux.mh (NATDEPFILES): Add inf-ptrace.o. * config/sparc/linux64.mh (NATDEPFILES): Add inf-ptrace.o.
This commit is contained in:
@ -21,6 +21,7 @@
|
||||
|
||||
#include "defs.h"
|
||||
#include "regcache.h"
|
||||
#include "target.h"
|
||||
|
||||
#include "sparc64-tdep.h"
|
||||
#include "sparc-nat.h"
|
||||
@ -169,6 +170,9 @@ _initialize_sparc64nbsd_nat (void)
|
||||
sparc_gregset_supplies_p = sparc64nbsd_gregset_supplies_p;
|
||||
sparc_fpregset_supplies_p = sparc64nbsd_fpregset_supplies_p;
|
||||
|
||||
/* We've got nothing to add to the generic SPARC target. */
|
||||
add_target (sparc_target ());
|
||||
|
||||
/* Support debugging kernel virtual memory images. */
|
||||
bsd_kvm_add_target (sparc64nbsd_supply_pcb);
|
||||
}
|
||||
|
Reference in New Issue
Block a user