Inherit vax_bsd_nat_target from nbsd_nat_target
authorKamil Rytarowski <n54@gmx.com>
Sat, 14 Mar 2020 12:21:58 +0000 (13:21 +0100)
committerKamil Rytarowski <n54@gmx.com>
Sat, 14 Mar 2020 12:21:58 +0000 (13:21 +0100)
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.

gdb/ChangeLog
gdb/vax-bsd-nat.c

index a0300cce9f9bcedbf71e07fc5ea2808f256a9f61..f22a699e87b1cf419f173a591d07a3b2aafb2a50 100644 (file)
@@ -1,3 +1,10 @@
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * 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  <n54@gmx.com>
 
        * mips-nbsd-nat.c: Define _KERNTYPES to get the declaration of
index 652f335c1cc7c063d23d71afab3f33d451f4c856..08b2e61fc08d9ad4ddf45c11483ccf08dd2549cd 100644 (file)
@@ -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;