diff options
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/alpha-bsd-nat.c | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4407064..432efe5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 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 register_t. 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; |