From patchwork Mon Nov 26 19:38:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 30311 Received: (qmail 11910 invoked by alias); 26 Nov 2018 19:38:36 -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 11891 invoked by uid 89); 26 Nov 2018 19:38:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, MIME_BASE64_BLANKS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1527 X-HELO: sessmg23.ericsson.net Received: from sessmg23.ericsson.net (HELO sessmg23.ericsson.net) (193.180.251.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 26 Nov 2018 19:38:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1543261111; x=1545853111; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eimmKHFFWInEm/dmeipvk3c+Wc+pS6P3YsqEhdnmJSk=; b=KsOb8lrHmgczvv89tf2jQXiQx7S1qScfy0AYVTNjaYk8u+7ZKVPG1iv939Zf9UpU grra3pnLWqROJHbNAwebRdNa2eCp+kF7Eg8oV8Pcn7cNXbZ9QonwMFNoonytP+5L nt/EOzqlOGQt9VMnZ5Zc1LoJkBgvDSW3qxCTUsOhaNI=; Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id B0.A3.31473.7BB4CFB5; Mon, 26 Nov 2018 20:38:31 +0100 (CET) Received: from ESESBMB504.ericsson.se (153.88.183.171) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 26 Nov 2018 20:38:31 +0100 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB504.ericsson.se (153.88.183.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Mon, 26 Nov 2018 20:38:31 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eimmKHFFWInEm/dmeipvk3c+Wc+pS6P3YsqEhdnmJSk=; b=m2/FOaGw8/KX50mx2bnO6j94NBsgfhhSA0TQOg/UiQnqZhW9jANolqguhdpkhoR+sfmJ5E9/5ASJbiUuYQfDnLWJd8RGBRGT/0nzFA7Nu95jJM1uy067DfjterTyvUPtHr1FgTn61OqaKeQ+sxbXXtpxvorWhHCRstd06vbp03s= Received: from BYAPR15MB2390.namprd15.prod.outlook.com (52.135.198.30) by BYAPR15MB2245.namprd15.prod.outlook.com (52.135.196.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.16; Mon, 26 Nov 2018 19:38:28 +0000 Received: from BYAPR15MB2390.namprd15.prod.outlook.com ([fe80::2978:b8d7:86fd:94ed]) by BYAPR15MB2390.namprd15.prod.outlook.com ([fe80::2978:b8d7:86fd:94ed%3]) with mapi id 15.20.1361.019; Mon, 26 Nov 2018 19:38:28 +0000 From: Simon Marchi To: "gdb-patches@sourceware.org" CC: Simon Marchi Subject: [pushed] Fix spurious semicolon in sparc-linux-nat.c Date: Mon, 26 Nov 2018 19:38:28 +0000 Message-ID: <20181126193808.17834-1-simon.marchi@ericsson.com> authentication-results: spf=none (sender IP is ) smtp.mailfrom=simon.marchi@ericsson.com; received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts) Content-ID: <5A71075325C5BA4591AF379B17054AAE@namprd15.prod.outlook.com> MIME-Version: 1.0 Return-Path: simon.marchi@ericsson.com X-IsSubscribed: yes Remove a semicolon that should not be there, as reported in PR 23917: CXX sparc-linux-nat.o /home/emaisin/src/binutils-gdb/gdb/sparc-linux-nat.c:39:3: error: expected unqualified-id before ‘{’ token { sparc_store_inferior_registers (regcache, regnum); } ^ Tested by rebuilding the file manually (make sparc-linux-nat.o) in a sparc64-linux-gnu build. gdb/ChangeLog: PR gdb/23917 * sparc-linux-nat.c (sparc_linux_nat_target): Remove extraneous semicolon. --- gdb/ChangeLog | 6 ++++++ gdb/sparc-linux-nat.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) -- 2.19.1 diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9badb720afe..1c714ddba3f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2018-11-26 Simon Marchi + + PR gdb/23917 + * sparc-linux-nat.c (sparc_linux_nat_target): Remove extraneous + semicolon. + 2018-11-26 Pedro Alves * procfs.c (procfs_notice_thread): Replace uses of diff --git a/gdb/sparc-linux-nat.c b/gdb/sparc-linux-nat.c index 2df0025135c..765f24c86ae 100644 --- a/gdb/sparc-linux-nat.c +++ b/gdb/sparc-linux-nat.c @@ -35,7 +35,7 @@ public: void fetch_registers (struct regcache *regcache, int regnum) override { sparc_fetch_inferior_registers (regcache, regnum); } - void store_registers (struct regcache *regcache, int regnum) override; + void store_registers (struct regcache *regcache, int regnum) override { sparc_store_inferior_registers (regcache, regnum); } };