aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips64obsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2014-03-01 12:00:19 +0100
committerMark Kettenis <kettenis@gnu.org>2014-03-01 12:00:19 +0100
commit96c70abaef209c125af95108ed28708cd394cac0 (patch)
tree017dd2cfbfb4660a7e0241cd8c74ef2e3caf3a60 /gdb/mips64obsd-nat.c
parent874a80af9f24c0009222e3860d351eccf5a1bc0d (diff)
downloadgdb-96c70abaef209c125af95108ed28708cd394cac0.zip
gdb-96c70abaef209c125af95108ed28708cd394cac0.tar.gz
gdb-96c70abaef209c125af95108ed28708cd394cac0.tar.bz2
Enable rthreads support on OpenBSD/mips64.
gdb/ChangeLog: * mips64obsd-nat.c: Include "obsd-nath". (_initialize_mips64obsd_nat): Call obsd_add_target instead of add_target * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
Diffstat (limited to 'gdb/mips64obsd-nat.c')
-rw-r--r--gdb/mips64obsd-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/mips64obsd-nat.c b/gdb/mips64obsd-nat.c
index 75ffd89..0b51507 100644
--- a/gdb/mips64obsd-nat.c
+++ b/gdb/mips64obsd-nat.c
@@ -28,6 +28,7 @@
#include "mips-tdep.h"
#include "inf-ptrace.h"
+#include "obsd-nat.h"
/* Shorthand for some register numbers used below. */
#define MIPS_PC_REGNUM MIPS_EMBED_PC_REGNUM
@@ -121,5 +122,5 @@ _initialize_mips64obsd_nat (void)
t = inf_ptrace_target ();
t->to_fetch_registers = mips64obsd_fetch_inferior_registers;
t->to_store_registers = mips64obsd_store_inferior_registers;
- add_target (t);
+ obsd_add_target (t);
}