From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47207 invoked by alias); 7 Jul 2018 17:58:02 -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 47141 invoked by uid 89); 7 Jul 2018 17:58:01 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 07 Jul 2018 17:58:00 +0000 Received: by simark.ca (Postfix, from userid 112) id 891E91EF2B; Sat, 7 Jul 2018 13:57:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=simark.ca; s=mail; t=1530986278; bh=Bdv3ymmcbupkvF4wzDwpgCnVOCxoQ7966ZmgvqI4vxY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JhhJut7tZr6pBDsHSqiO1mwoRUBkEqcGxi5w/MCYzXlgUFnrecsNmlDrsuU51IaJN t7cbChb8jIX6Utqi7pt69XF9JrkHC8sZpHu/UST2ZGZpAgoDW72VLQOTQQXgV+NGgL hKo61Q2SCpJSLnFA+zBpSmzxXXj3yXFBMLg2KSPk= Received: from www.simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id C400B1E08D; Sat, 7 Jul 2018 13:57:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=simark.ca; s=mail; t=1530986272; bh=Bdv3ymmcbupkvF4wzDwpgCnVOCxoQ7966ZmgvqI4vxY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=t8bo9QQsVg7+gl7veFS4FD9wSoQaOpsw2qAiypJQlb0uQHtbSmilmj+PvklRpw0aU qDwYkhjEdP7jjyYcy330/RvoxRS8VnLLoJ6gIBddgxOuK64ILIkU+3rnuo4utup5Dt ejgvy8QKn2ft4gkFEc2VVLaMnm/myEJm6bpbn8oo= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sat, 07 Jul 2018 17:58:00 -0000 From: Simon Marchi To: Andreas Schwab Cc: Simon Marchi , gdb-patches@sourceware.org, Pedro Alves Subject: Re: [PATCH] Make target_read_alloc & al return vectors In-Reply-To: <87efgfyn76.fsf@igel.home> References: <1521691401-21512-1-git-send-email-simon.marchi@ericsson.com> <5ead66c6-e0cb-c9b6-b882-79c232cc389c@simark.ca> <87efgfyn76.fsf@igel.home> Message-ID: <7b3379693d002e788af87bb89a1078e3@simark.ca> X-Sender: simark@simark.ca User-Agent: Roundcube Webmail/1.3.6 X-SW-Source: 2018-07/txt/msg00174.txt.bz2 On 2018-07-07 13:23, Andreas Schwab wrote: > This is the next error: > > ../../gdb/ia64-linux-nat.c:73:8: error: conflicting return type > specified for ‘virtual bool > ia64_linux_nat_target::have_steppable_watchpoint()’ > bool have_steppable_watchpoint () { return 1; } > ^ > In file included from ../../gdb/inferior.h:41:0, > from ../../gdb/ia64-linux-nat.c:22: > ../../gdb/target.h:554:17: error: overriding ‘virtual int > target_ops::have_steppable_watchpoint()’ > virtual int have_steppable_watchpoint () > ^ The fix for this is probably obvious (change int for bool). Can you take care of it? I'm not on my gdb-development-capable computer, and probably don't have an ia64 cross-compiler handy. Does the patch for target_read_alloc look good to you? Simon