From patchwork Fri Jan 24 14:14:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Biesinger X-Patchwork-Id: 37527 Received: (qmail 72625 invoked by alias); 24 Jan 2020 14:15:26 -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 72405 invoked by uid 89); 24 Jan 2020 14:15:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.8 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=HX-Spam-Relays-External:209.85.128.66, H*RU:209.85.128.66, HContent-Transfer-Encoding:8bit X-HELO: mail-wm1-f66.google.com Received: from mail-wm1-f66.google.com (HELO mail-wm1-f66.google.com) (209.85.128.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 24 Jan 2020 14:15:20 +0000 Received: by mail-wm1-f66.google.com with SMTP id p9so1808261wmc.2 for ; Fri, 24 Jan 2020 06:15:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WPdzqdhwIoWfLWW+HUXn8fPsvx0ibOHyFPJFxItviNE=; b=UBfphRE0IJ1XO70vTRILH96elAIpnY5UkbdkO4ahM2TeJQIYHsFkOlSlplwA4JKSVW LjsZNXPxN7O2eg3ogDFcJqcx296yzkKo7Vgn6Djj9KJETPF6SXoo6zefK+nO2AkosEBH fUpRkyrY05HdJUmfo7uIkQPgUVlrLh/9JsFmI= Return-Path: Received: from cbiesinger.roam.corp.google.com (fanzine.igalia.com. [178.60.130.6]) by smtp.googlemail.com with ESMTPSA id t25sm6974515wmj.19.2020.01.24.06.15.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2020 06:15:17 -0800 (PST) From: cbiesinger@chromium.org To: gdb-patches@sourceware.org Cc: Christian Biesinger Subject: [PATCH 3/3] Make the class name in the definition match the declaration Date: Fri, 24 Jan 2020 15:14:58 +0100 Message-Id: <20200124141458.171392-4-cbiesinger@chromium.org> In-Reply-To: <20200124141458.171392-1-cbiesinger@chromium.org> References: <20200124141458.171392-1-cbiesinger@chromium.org> MIME-Version: 1.0 From: Christian Biesinger Fixes a compile error because the class is actually called arm_netbsd_nat_target. gdb/ChangeLog: 2020-01-24 Christian Biesinger * arm-nbsd-nat.c (arm_nbsd_nat_target::fetch_registers): Rename to... (arm_netbsd_nat_target::fetch_registers): ...this. (arm_nbsd_nat_target::store_registers): Rename to... (arm_netbsd_nat_target::store_registers): ...this. Change-Id: Ibebfab9edeff48f54c32d0745afda1d74d31de92 --- gdb/arm-nbsd-nat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/arm-nbsd-nat.c b/gdb/arm-nbsd-nat.c index 31fe66c724..5072bd09ec 100644 --- a/gdb/arm-nbsd-nat.c +++ b/gdb/arm-nbsd-nat.c @@ -191,7 +191,7 @@ fetch_fp_regs (struct regcache *regcache) } void -arm_nbsd_nat_target::fetch_registers (struct regcache *regcache, int regno) +arm_netbsd_nat_target::fetch_registers (struct regcache *regcache, int regno) { if (regno >= 0) { @@ -380,7 +380,7 @@ store_fp_regs (const struct regcache *regcache) } void -arm_nbsd_nat_target::store_registers (struct regcache *regcache, int regno) +arm_netbsd_nat_target::store_registers (struct regcache *regcache, int regno) { if (regno >= 0) {