aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64obsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/amd64obsd-nat.c')
-rw-r--r--gdb/amd64obsd-nat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/amd64obsd-nat.c b/gdb/amd64obsd-nat.c
index 0f9b5ef..6f8a601 100644
--- a/gdb/amd64obsd-nat.c
+++ b/gdb/amd64obsd-nat.c
@@ -22,6 +22,7 @@
#include "defs.h"
#include "gdbcore.h"
#include "regcache.h"
+#include "target.h"
#include "gdb_assert.h"
@@ -138,6 +139,9 @@ _initialize_amd64obsd_nat (void)
amd64_native_gregset32_num_regs = ARRAY_SIZE (amd64obsd32_r_reg_offset);
amd64_native_gregset64_reg_offset = amd64obsd_r_reg_offset;
+ /* We've got nothing to add to the common *BSD/amd64 target. */
+ add_target (amd64bsd_target ());
+
/* Support debugging kernel virtual memory images. */
bsd_kvm_add_target (amd64obsd_supply_pcb);
}