diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-03-19 14:52:57 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-03-20 15:25:32 +0100 |
commit | 9faa006d11a5e08264a007463435f84b77864c9c (patch) | |
tree | 18f99b2c75159ac86e5b59bc8c11e136ac7cb1a6 /gdb/ppc-nbsd-nat.c | |
parent | 4a90f062056e842c3f53293482e0039db0da3245 (diff) | |
download | fsf-binutils-gdb-9faa006d11a5e08264a007463435f84b77864c9c.zip fsf-binutils-gdb-9faa006d11a5e08264a007463435f84b77864c9c.tar.gz fsf-binutils-gdb-9faa006d11a5e08264a007463435f84b77864c9c.tar.bz2 |
Inherit ppc_nbsd_nat_target from nbsd_nat_target
gdb/ChangeLog:
* ppc-nbsd-nat.c (ppc_nbsd_nat_target): Inherit from
nbsd_nat_target instead of inf_ptrace_target.
* ppc-nbsd-nat.c: Include "nbsd-nat.h", as we are now using
nbsd_nat_target.
Diffstat (limited to 'gdb/ppc-nbsd-nat.c')
-rw-r--r-- | gdb/ppc-nbsd-nat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ppc-nbsd-nat.c b/gdb/ppc-nbsd-nat.c index 67c0379..8111f3e 100644 --- a/gdb/ppc-nbsd-nat.c +++ b/gdb/ppc-nbsd-nat.c @@ -37,8 +37,9 @@ #include "ppc-nbsd-tdep.h" #include "bsd-kvm.h" #include "inf-ptrace.h" +#include "nbsd-nat.h" -struct ppc_nbsd_nat_target final : public inf_ptrace_target +struct ppc_nbsd_nat_target final : public nbsd_nat_target { void fetch_registers (struct regcache *, int) override; void store_registers (struct regcache *, int) override; |