diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/config/mips/obsd64.mh | 2 | ||||
-rw-r--r-- | gdb/mips64obsd-nat.c | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c5c1675..3692332 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 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 obsd_add_target instead of add_target. * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. diff --git a/gdb/config/mips/obsd64.mh b/gdb/config/mips/obsd64.mh index b41b2ee..ed04f9e 100644 --- a/gdb/config/mips/obsd64.mh +++ b/gdb/config/mips/obsd64.mh @@ -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 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); } |