From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5146 invoked by alias); 16 Mar 2017 15:21:15 -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 5133 invoked by uid 89); 16 Mar 2017 15:21:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=breakage, H*f:sk:c13d8a0 X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0b-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.158.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Mar 2017 15:21:13 +0000 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v2GFE7VT038120 for ; Thu, 16 Mar 2017 11:21:12 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0b-001b2d01.pphosted.com with ESMTP id 297pv2vy1n-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 16 Mar 2017 11:21:11 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 16 Mar 2017 15:21:09 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 16 Mar 2017 15:21:07 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v2GFL73f35389542; Thu, 16 Mar 2017 15:21:07 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A25375204B; Thu, 16 Mar 2017 14:19:38 +0000 (GMT) Received: from oc1027705133.ibm.com (unknown [9.152.212.162]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 7D2395203F; Thu, 16 Mar 2017 14:19:38 +0000 (GMT) From: Andreas Arnez To: Jiong Wang Cc: gdb-patches@sourceware.org, Simon Marchi Subject: Re: [PATCH v2] inf-ptrace: Do not stop memory transfers after a single word References: Date: Thu, 16 Mar 2017 15:21:00 -0000 In-Reply-To: (Jiong Wang's message of "Thu, 16 Mar 2017 10:44:34 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 x-cbid: 17031615-0040-0000-0000-00000365488A X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17031615-0041-0000-0000-00001F4CA88A Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-03-16_12:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1703160122 X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00262.txt.bz2 On Thu, Mar 16 2017, Jiong Wang wrote: > I am seeing the following build failure on my local AArch32 native build: > > ...binutils-gdb/gdb/inf-ptrace.c:473:65: error: no matching function for > call to 'min(unsigned int, ULONGEST)' Hm, sorry for the breakage. > There are a few ways to fix this, this patch simply change the type of > "skip" from "unsigned int" to "ULONGEST" so operands for std::min can have > the same type. Right, that's a possibility, although the reader may be confused why a variable whose value is known to be less than 8 needs to be declared as ULONGEST... -- Andreas