diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-03-14 16:54:42 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-03-14 16:56:04 +0100 |
commit | 01a801176ea15ddfc988cade2e3d84c3b0abfec3 (patch) | |
tree | 3d08946276e7a29eecaf54e5b411011d57fbc06a /gdb/m68k-bsd-nat.c | |
parent | f90280caf5b34ebd564809a7f66685efc79bbf6d (diff) | |
download | gdb-01a801176ea15ddfc988cade2e3d84c3b0abfec3.zip gdb-01a801176ea15ddfc988cade2e3d84c3b0abfec3.tar.gz gdb-01a801176ea15ddfc988cade2e3d84c3b0abfec3.tar.bz2 |
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.
Diffstat (limited to 'gdb/m68k-bsd-nat.c')
-rw-r--r-- | gdb/m68k-bsd-nat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/m68k-bsd-nat.c b/gdb/m68k-bsd-nat.c index 9f0ecf9..774b608 100644 --- a/gdb/m68k-bsd-nat.c +++ b/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; |