From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17716 invoked by alias); 11 Apr 2013 06:15:43 -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 17657 invoked by uid 89); 11 Apr 2013 06:15:43 -0000 X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=ham version=3.3.1 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 11 Apr 2013 06:15:42 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UQAnM-0004Fg-VS from Hui_Zhu@mentor.com for gdb-patches@sourceware.org; Wed, 10 Apr 2013 23:15:40 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 10 Apr 2013 23:15:40 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Wed, 10 Apr 2013 23:15:39 -0700 Message-ID: <51665508.5050706@mentor.com> Date: Thu, 11 Apr 2013 08:35:00 -0000 From: Hui Zhu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20130126 Thunderbird/19.0 MIME-Version: 1.0 To: gdb-patches ml Subject: [PATCH] store trace default-collect to target [0/6] Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-04/txt/msg00309.txt.bz2 Hi, GDB doesn't store default-collect to target. Then if a clean gdb attach a target that have tracepoint running on it and have default collect. It will cannot tdump all the val that collect by tracepoint. So I add some patches to let GDB store default-collect to target by packet "QTDDCsrc" when "tstart". And when gdb connect to target, it will use "qTDC" request the default-collect in target. And I also add support to tfile and let default-collect can be save with command "save tracepoint". Please help me review them. Thanks, Hui