From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26711 invoked by alias); 12 Jun 2018 01:21:05 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 26602 invoked by uid 89); 12 Jun 2018 01:21:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:732, H*u:1.3.6, H*UA:1.3.6, H*r:112 X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 12 Jun 2018 01:21:03 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id w5C1Kugb019289 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 11 Jun 2018 21:21:01 -0400 Received: by simark.ca (Postfix, from userid 112) id CBCA61EF29; Mon, 11 Jun 2018 21:20:56 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id ADD931E529; Mon, 11 Jun 2018 21:20:54 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 12 Jun 2018 01:21:00 -0000 From: Simon Marchi To: John David Anglin Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Fix gdb build on hppa-linux In-Reply-To: <9be0a93b-40c0-b4a8-fb49-4d743fb2c7e7@bell.net> References: <9be0a93b-40c0-b4a8-fb49-4d743fb2c7e7@bell.net> Message-ID: <6bee4d96f337d8259b562898824bd248@polymtl.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.3.6 X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Tue, 12 Jun 2018 01:20:56 +0000 X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00299.txt.bz2 On 2018-06-09 10:59, John David Anglin wrote: > The attached patch fixes the following compile error on hppa-linux: > >   CXX    hppa-linux-nat.o > ../../src/gdb/hppa-linux-nat.c:277:17: error: no 'void > hppa_linux_nat_target::fetch_inferior_registers(regcache*, int)' > member function declared in class 'hppa_linux_nat_target' >         int regno) >                  ^ > ../../src/gdb/hppa-linux-nat.c:224:1: error: 'void > fetch_register(regcache*, int)' defined but not used > [-Werror=unused-function] >  fetch_register (struct regcache *regcache, int regno) >  ^~~~~~~~~~~~~~ > > Please install if okay. > > Thanks, > Dave Anglin Thanks, I pushed it. Simon