aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparcnbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sparcnbsd-nat.c')
-rw-r--r--gdb/sparcnbsd-nat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/sparcnbsd-nat.c b/gdb/sparcnbsd-nat.c
index fa663f2..4b0eb12 100644
--- a/gdb/sparcnbsd-nat.c
+++ b/gdb/sparcnbsd-nat.c
@@ -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);
}