From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61165 invoked by alias); 8 Aug 2018 15:55:08 -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 61134 invoked by uid 89); 8 Aug 2018 15:55:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy= 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; Wed, 08 Aug 2018 15:55:06 +0000 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w78FsfAB028047 for ; Wed, 8 Aug 2018 11:55:05 -0400 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0a-001b2d01.pphosted.com with ESMTP id 2kr19k6xw0-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 08 Aug 2018 11:55:04 -0400 Received: from localhost by e13.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 8 Aug 2018 11:55:04 -0400 Received: from b01cxnp23032.gho.pok.ibm.com (9.57.198.27) by e13.ny.us.ibm.com (146.89.104.200) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 8 Aug 2018 11:55:02 -0400 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w78Ft1Ci14942572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 8 Aug 2018 15:55:01 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B412C112063; Wed, 8 Aug 2018 11:54:42 -0400 (EDT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 87EC5112061; Wed, 8 Aug 2018 11:54:42 -0400 (EDT) Received: from pedro.localdomain (unknown [9.18.235.221]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 8 Aug 2018 11:54:42 -0400 (EDT) Received: by pedro.localdomain (Postfix, from userid 1000) id C410E3C03D8; Wed, 8 Aug 2018 12:54:47 -0300 (-03) From: Pedro Franco de Carvalho To: Szabolcs Nagy , gdb-patches@sourceware.org Cc: nd@arm.com, uweigand@de.ibm.com Subject: Re: [PATCH v2 3/6] Use get_remote_packet_size in download_tracepoint In-Reply-To: References: <20180802164652.16707D802AB@oc3748833570.ibm.com> <20180803214124.1033-1-pedromfc@linux.ibm.com> Date: Wed, 08 Aug 2018 15:55:00 -0000 MIME-Version: 1.0 Content-Type: text/plain x-cbid: 18080815-0064-0000-0000-0000033784A4 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009507; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01070998; UDB=6.00551380; IPR=6.00850537; MB=3.00022590; MTD=3.00000008; XFM=3.00000015; UTC=2018-08-08 15:55:04 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18080815-0065-0000-0000-00003A3B9561 Message-Id: <87y3dgam60.fsf@linux.vnet.ibm.com> X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00163.txt.bz2 Szabolcs Nagy writes: > on baremetal arm targets i see > > In file included from /S/gdb/common/common-defs.h:86:0, > from /S/gdb/defs.h:28, > from /S/gdb/remote.c:22: > /S/gdb/remote.c: In member function 'virtual void remote_target::download_tracepoint(bp_location*)': > /S/gdb/common/gdb_locale.h:35:27: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings] > # define _(String) (String) > ^ > /S/gdb/remote.c:12844:19: note: in expansion of macro '_' > char *err_msg = _("Tracepoint packet too large for target."); Sorry, and thanks for the fix! -- Pedro Franco de Carvalho