aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386obsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2014-03-01 15:29:34 +0100
committerMark Kettenis <kettenis@gnu.org>2014-03-01 15:29:34 +0100
commita900370fa1af4a7a0d4a5d3f2890c868b5881744 (patch)
tree5a10995441f62b6860703cd7e64e0b832909cc49 /gdb/i386obsd-nat.c
parentb72a79813d69202b6297d872344a8a3702fae85d (diff)
downloadgdb-a900370fa1af4a7a0d4a5d3f2890c868b5881744.zip
gdb-a900370fa1af4a7a0d4a5d3f2890c868b5881744.tar.gz
gdb-a900370fa1af4a7a0d4a5d3f2890c868b5881744.tar.bz2
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.
Diffstat (limited to 'gdb/i386obsd-nat.c')
-rw-r--r--gdb/i386obsd-nat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/i386obsd-nat.c b/gdb/i386obsd-nat.c
index a0b0808..db97cb6 100644
--- a/gdb/i386obsd-nat.c
+++ b/gdb/i386obsd-nat.c
@@ -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);