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.
This commit is contained in:
Kamil Rytarowski 2020-03-19 14:52:57 +01:00
parent 4a90f06205
commit 9faa006d11
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2020-03-20 Kamil Rytarowski <n54@gmx.com>
* 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.
2020-03-20 Kamil Rytarowski <n54@gmx.com>
* hppa-nbsd-nat.c (fetch_registers): New variable lwp and pass

View File

@ -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;