From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2023) id 2B0D439450EB; Sat, 14 Mar 2020 15:57:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2B0D439450EB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1584201421; bh=iCmZRbDiPdPbOydXFJgAG4B7MCgjsEIoniOWz97weCs=; h=From:To:Subject:Date:From; b=bi93BTzzgreyN3nEZeunlZXcNrUrNdgqfNMvhoq/a4V9m3YUTDImulVy2TQwFcc9r 1x/QrVGq2lviwnkO9QqLRx4C83vPlzn3IQmBQ91FRaQa7enqI/ukxYW0HcgAcNYbt3 QKDG1m56XWmIYK2em19ga6Lp+X58heJ88+ON/Q/Q= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Kamil Rytarowski To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Inherit m68k_bsd_nat_target from nbsd_nat_target X-Act-Checkin: binutils-gdb X-Git-Author: Kamil Rytarowski X-Git-Refname: refs/heads/master X-Git-Oldrev: f90280caf5b34ebd564809a7f66685efc79bbf6d X-Git-Newrev: 01a801176ea15ddfc988cade2e3d84c3b0abfec3 Message-Id: <20200314155701.2B0D439450EB@sourceware.org> Date: Sat, 14 Mar 2020 15:57:01 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2020 15:57:01 -0000 https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=01a801176ea15ddfc988cade2e3d84c3b0abfec3 commit 01a801176ea15ddfc988cade2e3d84c3b0abfec3 Author: Kamil Rytarowski 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 + + * 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 * 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;