aboutsummaryrefslogtreecommitdiff
path: root/gdb/vax-bsd-nat.c
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 /gdb/vax-bsd-nat.c
parent8110f842bc52940d27b6f1e8e5ab711238d9d210 (diff)
downloadgdb-d5be5fa4207da00d039a1d5a040ba316e7092cbd.zip
gdb-d5be5fa4207da00d039a1d5a040ba316e7092cbd.tar.gz
gdb-d5be5fa4207da00d039a1d5a040ba316e7092cbd.tar.bz2
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.
Diffstat (limited to 'gdb/vax-bsd-nat.c')
-rw-r--r--gdb/vax-bsd-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/vax-bsd-nat.c b/gdb/vax-bsd-nat.c
index 652f335..08b2e61 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;