]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/sparcnbsd-nat.c
* sparc-nat.c: Include "inf-ptrace.h".
[thirdparty/binutils-gdb.git] / gdb / sparcnbsd-nat.c
index fa663f2478c35886e37282146bb62ca762482a38..4b0eb12136c830e3f85e78762be7a8e25bb99c4d 100644 (file)
@@ -20,8 +20,8 @@
    Boston, MA 02111-1307, USA.  */
 
 #include "defs.h"
-#include "gdbcore.h"
 #include "regcache.h"
+#include "target.h"
 
 #include "sparc-tdep.h"
 #include "sparc-nat.h"
@@ -66,6 +66,9 @@ _initialize_sparcnbsd_nat (void)
 {
   sparc_gregset = &sparc32nbsd_gregset;
 
+  /* 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 (sparc32nbsd_supply_pcb);
 }