Inherit sh_nbsd_nat_target from nbsd_nat_target
authorKamil Rytarowski <n54@gmx.com>
Tue, 17 Mar 2020 14:07:39 +0000 (15:07 +0100)
committerKamil Rytarowski <n54@gmx.com>
Tue, 17 Mar 2020 14:10:34 +0000 (15:10 +0100)
gdb/ChangeLog:

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

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

index 5cc6f6d65a34864643bed639add1ab5f4db29208..b0b98399552a7870c588b78e96c845073be4a251 100644 (file)
@@ -1,3 +1,10 @@
+2020-03-17  Kamil Rytarowski  <n54@gmx.com>
+
+       * sh-nbsd-nat.c (sh_nbsd_nat_target): Inherit from
+       nbsd_nat_target instead of inf_ptrace_target.
+       * sh-nbsd-nat.c: Include "nbsd-nat.h", as we are now using
+       nbsd_nat_target.
+
 2020-03-17  Kamil Rytarowski  <n54@gmx.com>
 
        * amd64-bsd-nat.c: Include amd64-bsd-nat.h".
index 47cae00d4f53cd91e5cc9a0c37afa560e8294873..486ef9d18e93391680d6aa2740ff540220b41ca1 100644 (file)
 
 #include "sh-tdep.h"
 #include "inf-ptrace.h"
+#include "nbsd-nat.h"
 #include "regcache.h"
 
-struct sh_nbsd_nat_target final : public inf_ptrace_target
+struct sh_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.027616 seconds and 4 git commands to generate.