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

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

index 49e033533e2e1db3d7493bbc1aedd57e2bd2dcde..66ef062f16e27497fda9174d2bcb2854a3a30886 100644 (file)
@@ -1,3 +1,10 @@
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * 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  <n54@gmx.com>
 
        * x86-bsd-nat.c (x86bsd_dr_get): New variable lwp and pass
index cb31462737d0cbcea68c79cf8cd8efb79872980f..e7cd23693b6736506aba9e00b90212f1d3a25d84 100644 (file)
@@ -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.  */