Enable rhreads support on OpenBSD/i386.
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.
This commit is contained in:
parent
b72a79813d
commit
a900370fa1
3 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
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 *'.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# 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
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include "i386-tdep.h"
|
||||
#include "i386bsd-nat.h"
|
||||
#include "obsd-nat.h"
|
||||
#include "bsd-kvm.h"
|
||||
|
||||
static int
|
||||
|
@ -94,8 +95,8 @@ void _initialize_i386obsd_nat (void);
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue