Inherit arm_netbsd_nat_target from nbsd_nat_target

gdb/ChangeLog:

	* arm-nbsd-nat.c (arm_netbsd_nat_target): Inherit from
	nbsd_nat_target instead of inf_ptrace_target.
	* arm-nbsd-nat.c: Include "nbsd-nat.h", as we are now using
	nbsd_nat_target.
This commit is contained in:
Kamil Rytarowski 2020-03-14 14:50:51 +01:00
parent 013f99f035
commit 6018d381a0
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2020-03-14 Kamil Rytarowski <n54@gmx.com>
* arm-nbsd-nat.c (arm_netbsd_nat_target): Inherit from
nbsd_nat_target instead of inf_ptrace_target.
* arm-nbsd-nat.c: Include "nbsd-nat.h", as we are now using
nbsd_nat_target.
2020-03-14 Kamil Rytarowski <n54@gmx.com>
* x86-bsd-nat.c (x86bsd_dr_get): New variable lwp and pass

View File

@ -34,8 +34,9 @@
#include "arm-nbsd-tdep.h"
#include "aarch32-tdep.h"
#include "inf-ptrace.h"
#include "nbsd-nat.h"
class arm_netbsd_nat_target final : public inf_ptrace_target
class arm_netbsd_nat_target final : public nbsd_nat_target
{
public:
/* Add our register access methods. */