gdb/ChangeLog:
* i386obsd-nat.c: Include "obsd-nat.h".
(_initialize_i386obsd_nat): Call obsd_add_target instead of
add_target.
* config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
+2014-03-01 Mark Kettenis <kettenis@gnu.org>
+
+ * i386obsd-nat.c: Include "obsd-nat.h".
+ (_initialize_i386obsd_nat): Call obsd_add_target instead of
+ add_target.
+ * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
+
2014-03-01 Mark Kettenis <kettenis@gnu.org>
* i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
# Host: OpenBSD/i386 ELF
-NATDEPFILES= fork-child.o inf-ptrace.o \
+NATDEPFILES= fork-child.o inf-ptrace.o obsd-nat.o \
i386bsd-nat.o i386obsd-nat.o bsd-kvm.o
LOADLIBES= -lkvm
#include "i386-tdep.h"
#include "i386bsd-nat.h"
+#include "obsd-nat.h"
#include "bsd-kvm.h"
static int
void
_initialize_i386obsd_nat (void)
{
- /* We've got nothing to add to the common *BSD/i386 target. */
- add_target (i386bsd_target ());
+ /* Add some extra features to the common *BSD/i386 target. */
+ obsd_add_target (i386bsd_target ());
/* Support debugging kernel virtual memory images. */
bsd_kvm_add_target (i386obsd_supply_pcb);