public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Kamil Rytarowski <krytarowski@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Inherit m68k_bsd_nat_target from nbsd_nat_target Date: Sat, 14 Mar 2020 15:57:01 +0000 (GMT) [thread overview] Message-ID: <20200314155701.2B0D439450EB@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=01a801176ea15ddfc988cade2e3d84c3b0abfec3 commit 01a801176ea15ddfc988cade2e3d84c3b0abfec3 Author: Kamil Rytarowski <n54@gmx.com> Date: Sat Mar 14 16:54:42 2020 +0100 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. Diff: --- gdb/ChangeLog | 7 +++++++ gdb/m68k-bsd-nat.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 26429a81a31..13ea71852d8 100644 --- a/gdb/ChangeLog +++ b/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 diff --git a/gdb/m68k-bsd-nat.c b/gdb/m68k-bsd-nat.c index 9f0ecf90957..774b6084251 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;
reply other threads:[~2020-03-14 15:57 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200314155701.2B0D439450EB@sourceware.org \ --to=krytarowski@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).