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.
This commit is contained in:
Kamil Rytarowski 2020-03-14 13:21:58 +01:00
parent 8110f842bc
commit d5be5fa420
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2020-03-14 Kamil Rytarowski <n54@gmx.com>
* 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.
2020-03-14 Kamil Rytarowski <n54@gmx.com>
* mips-nbsd-nat.c: Define _KERNTYPES to get the declaration of

View File

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