Inherit ppc_nbsd_nat_target from nbsd_nat_target
authorKamil Rytarowski <n54@gmx.com>
Thu, 19 Mar 2020 13:52:57 +0000 (14:52 +0100)
committerKamil Rytarowski <n54@gmx.com>
Fri, 20 Mar 2020 14:25:32 +0000 (15:25 +0100)
gdb/ChangeLog:

* ppc-nbsd-nat.c (ppc_nbsd_nat_target): Inherit from
nbsd_nat_target instead of inf_ptrace_target.
* ppc-nbsd-nat.c: Include "nbsd-nat.h", as we are now using
nbsd_nat_target.

gdb/ChangeLog
gdb/ppc-nbsd-nat.c

index cb6905b8a3bb8283ecb698a50d12ec189120c6ea..2eac1e7349b8ecca0ead3f4869ff9304c511fb13 100644 (file)
@@ -1,3 +1,10 @@
+2020-03-20  Kamil Rytarowski  <n54@gmx.com>
+
+       * ppc-nbsd-nat.c (ppc_nbsd_nat_target): Inherit from
+       nbsd_nat_target instead of inf_ptrace_target.
+       * ppc-nbsd-nat.c: Include "nbsd-nat.h", as we are now using
+       nbsd_nat_target.
+
 2020-03-20  Kamil Rytarowski  <n54@gmx.com>
 
        * hppa-nbsd-nat.c (fetch_registers): New variable lwp and pass
index 67c03790ed728b518efd3eaab5f2a9acac68c25b..8111f3ed0b79c65017786abf096287c082f7cc47 100644 (file)
@@ -37,8 +37,9 @@
 #include "ppc-nbsd-tdep.h"
 #include "bsd-kvm.h"
 #include "inf-ptrace.h"
+#include "nbsd-nat.h"
 
-struct ppc_nbsd_nat_target final : public inf_ptrace_target
+struct ppc_nbsd_nat_target final : public nbsd_nat_target
 {
   void fetch_registers (struct regcache *, int) override;
   void store_registers (struct regcache *, int) override;
This page took 0.02925 seconds and 4 git commands to generate.