From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116024 invoked by alias); 27 Jul 2018 21:03:39 -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 115999 invoked by uid 89); 27 Jul 2018 21:03:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.6 required=5.0 tests=BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=sk:downloa, tracepoint X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Jul 2018 21:03:37 +0000 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6RKsOGs039195 for ; Fri, 27 Jul 2018 17:03:35 -0400 Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.149]) by mx0a-001b2d01.pphosted.com with ESMTP id 2kg9cskd4w-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 27 Jul 2018 17:03:35 -0400 Received: from localhost by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 27 Jul 2018 15:03:34 -0600 Received: from b03cxnp08026.gho.boulder.ibm.com (9.17.130.18) by e31.co.us.ibm.com (192.168.1.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 27 Jul 2018 15:03:33 -0600 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w6RL3UJo7733528 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 27 Jul 2018 14:03:30 -0700 Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A6A34C6055; Fri, 27 Jul 2018 15:03:30 -0600 (MDT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6898CC605A; Fri, 27 Jul 2018 15:03:30 -0600 (MDT) Received: from pedro.localdomain (unknown [9.85.199.57]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 27 Jul 2018 15:03:30 -0600 (MDT) Received: by pedro.localdomain (Postfix, from userid 1000) id A9B6F3C03D5; Fri, 27 Jul 2018 18:03:27 -0300 (-03) From: Pedro Franco de Carvalho To: gdb-patches@sourceware.org Cc: uweigand@de.ibm.com Subject: [PATCH v2 0/6] Fix tracepoint register limitations Date: Fri, 27 Jul 2018 21:03:00 -0000 x-cbid: 18072721-8235-0000-0000-00000DD97BCC X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009440; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01067028; UDB=6.00548259; IPR=6.00844894; MB=3.00022359; MTD=3.00000008; XFM=3.00000015; UTC=2018-07-27 21:03:34 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18072721-8236-0000-0000-0000420A1917 Message-Id: <20180727210318.2960-1-pedromfc@linux.ibm.com> X-SW-Source: 2018-07/txt/msg00744.txt.bz2 This is V2 of: https://sourceware.org/ml/gdb-patches/2018-06/msg00501.html The goal of this series is to address internal limitations with tracepoints that showed up when I tried to enable more powerpc registers. I added two new patches to the series, one that changes collection_list in tracepoint.c to only set remote register numbers in the register mask, and one that fixes another limitation from adding more powerpc registers, which caused a buffer overrun when saving a .ctf file. Pedro Franco de Carvalho (6): Fix indentation in remote_target::download_tracepoint Remove trailing '-' from the last QTDP action packet Use get_remote_packet_size in download_tracepoint Use remote register numbers in tracepoint mask Variable size for regs mask in collection list Allow larger regblock sizes when saving tracefiles gdb/remote.c | 161 ++++++++++++++++++++++++++++++------------- gdb/tracefile.c | 42 +++++++----- gdb/tracepoint.c | 206 ++++++++++++++++++++++++++++++++----------------------- gdb/tracepoint.h | 13 ++-- 4 files changed, 267 insertions(+), 155 deletions(-) -- 2.13.6