From patchwork Wed Feb 5 17:52:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Terekhov, Mikhail via Gdb-patches" X-Patchwork-Id: 37698 Received: (qmail 88004 invoked by alias); 5 Feb 2020 17:53:03 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 87992 invoked by uid 89); 5 Feb 2020 17:53:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-qv1-f74.google.com Received: from mail-qv1-f74.google.com (HELO mail-qv1-f74.google.com) (209.85.219.74) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Feb 2020 17:53:02 +0000 Received: by mail-qv1-f74.google.com with SMTP id d7so1955924qvq.12 for ; Wed, 05 Feb 2020 09:53:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=etfxzjlzHCBOIEhY1Y5OyAiY3M9E0/r9U9QgQ8QH9IQ=; b=vIoGrvUQ2um7uO182H5v92JWQWzoIiQpNcqox6wky8wrbhnZXxHa3RCSpOpi0rAT45 1vKjOuzaT/YuC5XXOKRRur7J/W+H88/9AlQN9iTBiUgo8Z2rgOGOGYF96tz2BZQOcS81 aDk4NjOXzoiOj1uvhlY4t3L7oNEmXWoxMP6p/1/sOGQmTUp3Px6ntoz5za2M4o9CPQLZ 48LGDln1sic6d6C4/pzZEHt1gsRP5YFxih6ks/zm9BoHNK3dkTccV8NV2hsB7niD+BMT wA6HeZbKCc+cnDtJoyEvJlyV20Dvuk1y6zjIRzRxlgwfHBFUKXME9sjeTn0sBMz7XRDW /EsQ== Date: Wed, 5 Feb 2020 11:52:57 -0600 Message-Id: <20200205175257.197506-1-cbiesinger@google.com> Mime-Version: 1.0 Subject: [PUSHED/OBVIOUS] Fix base class function call X-Patchwork-Original-From: "Christian Biesinger via gdb-patches" From: "Terekhov, Mikhail via Gdb-patches" Reply-To: Christian Biesinger To: gdb-patches@sourceware.org Cc: Christian Biesinger X-IsSubscribed: yes This was a typo introduced in f6ac5f3d63e03a81c4ff3749aba234961cc9090e. Found by looking through NetBSD's GDB patches: https://github.com/NetBSD/pkgsrc-wip/blob/master/gdb-netbsd/patches/patch-gdb_sparc-nat.h This patch can't be tested on Linux because Linux does not use the sparc_target template. gdb/ChangeLog: 2020-02-05 Christian Biesinger * sparc-nat.h (struct sparc_target) : Fix base class function call. Change-Id: I4fa88cbdc365efe89b84cc0619b60db38718d9ce --- gdb/sparc-nat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/sparc-nat.h b/gdb/sparc-nat.h index 1dbdd80b5e..d07bd86d03 100644 --- a/gdb/sparc-nat.h +++ b/gdb/sparc-nat.h @@ -75,8 +75,8 @@ struct sparc_target : public BaseTarget return sparc_xfer_wcookie (object, annex, readbuf, writebuf, offset, len, xfered_len); - return BaseTarget (object, annex, readbuf, writebuf, - offset, len, xfered_len); + return BaseTarget::xfer_partial (object, annex, readbuf, writebuf, + offset, len, xfered_len); } };