aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-nbsd-nat.c
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-03-17 15:07:39 +0100
committerKamil Rytarowski <n54@gmx.com>2020-03-17 15:10:34 +0100
commit9809762324491b851332ce600ae9bde8dd34f601 (patch)
tree2d3d5eb44683c4205a020b1745710fb1722e831a /gdb/sh-nbsd-nat.c
parent946ffddcae7a8d0d135dd550b4bc7193b2ac1c5c (diff)
downloadfsf-binutils-gdb-9809762324491b851332ce600ae9bde8dd34f601.zip
fsf-binutils-gdb-9809762324491b851332ce600ae9bde8dd34f601.tar.gz
fsf-binutils-gdb-9809762324491b851332ce600ae9bde8dd34f601.tar.bz2
Inherit sh_nbsd_nat_target from nbsd_nat_target
gdb/ChangeLog: * sh-nbsd-nat.c (sh_nbsd_nat_target): Inherit from nbsd_nat_target instead of inf_ptrace_target. * sh-nbsd-nat.c: Include "nbsd-nat.h", as we are now using nbsd_nat_target.
Diffstat (limited to 'gdb/sh-nbsd-nat.c')
-rw-r--r--gdb/sh-nbsd-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/sh-nbsd-nat.c b/gdb/sh-nbsd-nat.c
index 47cae00..486ef9d 100644
--- a/gdb/sh-nbsd-nat.c
+++ b/gdb/sh-nbsd-nat.c
@@ -28,9 +28,10 @@
#include "sh-tdep.h"
#include "inf-ptrace.h"
+#include "nbsd-nat.h"
#include "regcache.h"
-struct sh_nbsd_nat_target final : public inf_ptrace_target
+struct sh_nbsd_nat_target final : public nbsd_nat_target
{
void fetch_registers (struct regcache *, int) override;
void store_registers (struct regcache *, int) override;