summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-03-14 13:21:58 +0100
committerKamil Rytarowski <n54@gmx.com>2020-03-14 13:21:58 +0100
commitd5be5fa4207da00d039a1d5a040ba316e7092cbd (patch)
tree61dceff2e50d59b477b30fd8102cad4d39c93541
parent8110f842bc52940d27b6f1e8e5ab711238d9d210 (diff)
Inherit vax_bsd_nat_target from nbsd_nat_target
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.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/vax-bsd-nat.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a0300cce9f..f22a699e87 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,12 @@
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
register_t.
diff --git a/gdb/vax-bsd-nat.c b/gdb/vax-bsd-nat.c
index 652f335c1c..08b2e61fc0 100644
--- a/gdb/vax-bsd-nat.c
+++ b/gdb/vax-bsd-nat.c
@@ -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;