aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-bsd-nat.c
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-03-14 16:05:24 +0100
committerKamil Rytarowski <n54@gmx.com>2020-03-14 16:05:24 +0100
commit4fed520be264b60893aa674071947890f8172915 (patch)
tree349a21954453c38601dfbf658378e4958b5092f5 /gdb/alpha-bsd-nat.c
parent2190cf067b87e804c59c0a0c14c8ae48deabfbf4 (diff)
downloadgdb-4fed520be264b60893aa674071947890f8172915.zip
gdb-4fed520be264b60893aa674071947890f8172915.tar.gz
gdb-4fed520be264b60893aa674071947890f8172915.tar.bz2
Inherit alpha_netbsd_nat_target from nbsd_nat_target
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.
Diffstat (limited to 'gdb/alpha-bsd-nat.c')
-rw-r--r--gdb/alpha-bsd-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/alpha-bsd-nat.c b/gdb/alpha-bsd-nat.c
index 49f69f5..75c5589 100644
--- a/gdb/alpha-bsd-nat.c
+++ b/gdb/alpha-bsd-nat.c
@@ -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;