From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2023) id 54F6138A2417; Sat, 14 Mar 2020 12:23:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 54F6138A2417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1584188636; bh=RUTPAS93ewAieAaCQ/poMKRzZ0E7QeB/P0uJerz1/hU=; h=From:To:Subject:Date:From; b=cNSCMhPF4dUtojaD9EbnizsQ0iGbYAgTz4UFAz6+kfEo75eV5FS0xH/7N2eazpSVC /yBZXn4YBlNr4eM4wQJ5tsA2sf9E0wO1xz7suQs4qgdm3UFDSGwaDaPU2JkwFy9x0Q RHpSFZOmALN3GkwiNkoHxleLZOYCz5F+5FGPFhdQ= 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 vax_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: 8110f842bc52940d27b6f1e8e5ab711238d9d210 X-Git-Newrev: d5be5fa4207da00d039a1d5a040ba316e7092cbd Message-Id: <20200314122356.54F6138A2417@sourceware.org> Date: Sat, 14 Mar 2020 12:23:56 +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 12:23:56 -0000 https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d5be5fa4207da00d039a1d5a040ba316e7092cbd commit d5be5fa4207da00d039a1d5a040ba316e7092cbd Author: Kamil Rytarowski Date: Sat Mar 14 13:21:58 2020 +0100 Inherit vax_bsd_nat_target from nbsd_nat_target gdb/ChangeLog: * vax-bsd-nat.c (vax_bsd_nat_target): Inherit from nbsd_nat_target instead of inf_ptrace_target. * vax-bsd-nat.c: Include "nbsd-nat.h", as we are now using nbsd_nat_target. Diff: --- gdb/ChangeLog | 7 +++++++ gdb/vax-bsd-nat.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a0300cce9f9..f22a699e87b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2020-03-14 Kamil Rytarowski + + * vax-bsd-nat.c (vax_bsd_nat_target): Inherit from nbsd_nat_target + instead of inf_ptrace_target. + * vax-bsd-nat.c: Include "nbsd-nat.h", as we are now using + nbsd_nat_target. + 2020-03-14 Kamil Rytarowski * mips-nbsd-nat.c: Define _KERNTYPES to get the declaration of diff --git a/gdb/vax-bsd-nat.c b/gdb/vax-bsd-nat.c index 652f335c1cc..08b2e61fc08 100644 --- a/gdb/vax-bsd-nat.c +++ b/gdb/vax-bsd-nat.c @@ -30,8 +30,9 @@ #include "vax-tdep.h" #include "inf-ptrace.h" +#include "nbsd-nat.h" -struct vax_bsd_nat_target final : public inf_ptrace_target +struct vax_bsd_nat_target final : public nbsd_nat_target { void fetch_registers (struct regcache *, int) override; void store_registers (struct regcache *, int) override;