Inherit alpha_netbsd_nat_target from nbsd_nat_target
gdb/ChangeLog: * 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.
This commit is contained in:
parent
2190cf067b
commit
4fed520be2
|
@ -1,3 +1,10 @@
|
|||
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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue