From: Kamil Rytarowski Date: Sat, 14 Mar 2020 12:21:58 +0000 (+0100) Subject: Inherit vax_bsd_nat_target from nbsd_nat_target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5be5fa4207da00d039a1d5a040ba316e7092cbd;p=binutils-gdb.git Inherit vax_bsd_nat_target from nbsd_nat_target gdb/ChangeLog: * vax-bsd-nat.c (vax_bsd_nat_target): Inherit from nbsd_nat_target instead of inf_ptrace_target. * vax-bsd-nat.c: Include "nbsd-nat.h", as we are now using nbsd_nat_target. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a0300cce9f9..f22a699e87b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2020-03-14 Kamil Rytarowski + + * vax-bsd-nat.c (vax_bsd_nat_target): Inherit from nbsd_nat_target + instead of inf_ptrace_target. + * vax-bsd-nat.c: Include "nbsd-nat.h", as we are now using + nbsd_nat_target. + 2020-03-14 Kamil Rytarowski * mips-nbsd-nat.c: Define _KERNTYPES to get the declaration of diff --git a/gdb/vax-bsd-nat.c b/gdb/vax-bsd-nat.c index 652f335c1cc..08b2e61fc08 100644 --- a/gdb/vax-bsd-nat.c +++ b/gdb/vax-bsd-nat.c @@ -30,8 +30,9 @@ #include "vax-tdep.h" #include "inf-ptrace.h" +#include "nbsd-nat.h" -struct vax_bsd_nat_target final : public inf_ptrace_target +struct vax_bsd_nat_target final : public nbsd_nat_target { void fetch_registers (struct regcache *, int) override; void store_registers (struct regcache *, int) override;