mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
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.
This commit is contained in:
parent
874a80af9f
commit
96c70abaef
@ -1,3 +1,10 @@
|
||||
2014-03-01 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* 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.
|
||||
|
||||
2014-03-01 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* amd64obsd-nat.c (_initialize_amd64obsd_nat): Call
|
||||
|
@ -1,2 +1,2 @@
|
||||
# Host: OpenBSD/mips64
|
||||
NATDEPFILES= fork-child.o inf-ptrace.o mips64obsd-nat.o
|
||||
NATDEPFILES= fork-child.o inf-ptrace.o obsd-nat.o mips64obsd-nat.o
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user