aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/sh-nbsd-nat.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5cc6f6d..b0b9839 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,12 @@
2020-03-17 Kamil Rytarowski <n54@gmx.com>
+ * 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.
+
+2020-03-17 Kamil Rytarowski <n54@gmx.com>
+
* amd64-bsd-nat.c: Include amd64-bsd-nat.h".
2020-03-17 Kamil Rytarowski <n54@gmx.com>
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;