Browse Source

Inherit m68k_bsd_nat_target from nbsd_nat_target

gdb/ChangeLog:

	* m68k-bsd-nat.c (m68k_bsd_nat_target): Inherit from
	nbsd_nat_target instead of inf_ptrace_target.
	* m68k-bsd-nat.c: Include "nbsd-nat.h", as we are now using
	nbsd_nat_target.
binutils-2_35-branch
Kamil Rytarowski 7 years ago
parent
commit
01a801176e
  1. 7
      gdb/ChangeLog
  2. 3
      gdb/m68k-bsd-nat.c

7
gdb/ChangeLog

@ -1,3 +1,10 @@
2020-03-14 Kamil Rytarowski <n54@gmx.com>
* m68k-bsd-nat.c (m68k_bsd_nat_target): Inherit from
nbsd_nat_target instead of inf_ptrace_target.
* m68k-bsd-nat.c: Include "nbsd-nat.h", as we are now using
nbsd_nat_target.
2020-03-14 Kamil Rytarowski <n54@gmx.com>
* m68k-bsd-nat.c: Define _KERNTYPES to get the declaration of

3
gdb/m68k-bsd-nat.c

@ -30,8 +30,9 @@
#include "m68k-tdep.h"
#include "inf-ptrace.h"
#include "nbsd-nat.h"
struct m68k_bsd_nat_target final : public inf_ptrace_target
struct m68k_bsd_nat_target final : public nbsd_nat_target
{
void fetch_registers (struct regcache *, int) override;
void store_registers (struct regcache *, int) override;

Loading…
Cancel
Save