]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Inherit alpha_netbsd_nat_target from nbsd_nat_target
authorKamil Rytarowski <n54@gmx.com>
Sat, 14 Mar 2020 15:05:24 +0000 (16:05 +0100)
committerKamil Rytarowski <n54@gmx.com>
Sat, 14 Mar 2020 15:05:24 +0000 (16:05 +0100)
gdb/ChangeLog:

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

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

index 4407064f43c43bcc9f4fcaf1ba76bef178439ff5..432efe5c9e5822c6d30c944501b6d5549ef0ed34 100644 (file)
@@ -1,3 +1,10 @@
+2020-03-14  Kamil Rytarowski  <n54@gmx.com>
+
+       * alpha-bsd-nat.c (alpha_netbsd_nat_target): Inherit from
+       nbsd_nat_target instead of inf_ptrace_target.
+       * alpha-bsd-nat.c: Include "nbsd-nat.h", as we are now using
+       nbsd_nat_target.
+
 2020-03-14  Kamil Rytarowski  <n54@gmx.com>
 
        * alpha-bsd-nat.c: Define _KERNTYPES to get the declaration of
index 49f69f540e9b8fba63d2b9940f20a0bcf6e40337..75c5589e0b7ad278c71366081bc7c01f1431bd18 100644 (file)
@@ -26,6 +26,7 @@
 #include "alpha-tdep.h"
 #include "alpha-bsd-tdep.h"
 #include "inf-ptrace.h"
+#include "nbsd-nat.h"
 
 #include <sys/types.h>
 #include <sys/ptrace.h>
@@ -45,7 +46,7 @@ typedef struct fpreg fpregset_t;
 
 #include "gregset.h"
 
-struct alpha_bsd_nat_target final : public inf_ptrace_target
+struct alpha_bsd_nat_target final : public nbsd_nat_target
 {
   void fetch_registers (struct regcache *, int) override;
   void store_registers (struct regcache *, int) override;