From: Kamil Rytarowski Date: Sat, 14 Mar 2020 13:50:51 +0000 (+0100) Subject: Inherit arm_netbsd_nat_target from nbsd_nat_target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6018d381a00515933016c539d2fdc18ad0d304b8;p=binutils-gdb.git Inherit arm_netbsd_nat_target from nbsd_nat_target gdb/ChangeLog: * arm-nbsd-nat.c (arm_netbsd_nat_target): Inherit from nbsd_nat_target instead of inf_ptrace_target. * arm-nbsd-nat.c: Include "nbsd-nat.h", as we are now using nbsd_nat_target. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 49e033533e2..66ef062f16e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2020-03-14 Kamil Rytarowski + + * arm-nbsd-nat.c (arm_netbsd_nat_target): Inherit from + nbsd_nat_target instead of inf_ptrace_target. + * arm-nbsd-nat.c: Include "nbsd-nat.h", as we are now using + nbsd_nat_target. + 2020-03-14 Kamil Rytarowski * x86-bsd-nat.c (x86bsd_dr_get): New variable lwp and pass diff --git a/gdb/arm-nbsd-nat.c b/gdb/arm-nbsd-nat.c index cb31462737d..e7cd23693b6 100644 --- a/gdb/arm-nbsd-nat.c +++ b/gdb/arm-nbsd-nat.c @@ -34,8 +34,9 @@ #include "arm-nbsd-tdep.h" #include "aarch32-tdep.h" #include "inf-ptrace.h" +#include "nbsd-nat.h" -class arm_netbsd_nat_target final : public inf_ptrace_target +class arm_netbsd_nat_target final : public nbsd_nat_target { public: /* Add our register access methods. */