From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16223 invoked by alias); 15 Jan 2010 22:44:56 -0000 Received: (qmail 16208 invoked by uid 22791); 15 Jan 2010 22:44:55 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jan 2010 22:44:49 +0000 Received: (qmail 22243 invoked from network); 15 Jan 2010 22:44:48 -0000 Received: from unknown (HELO macbook-2.local) (stan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 15 Jan 2010 22:44:48 -0000 Message-ID: <4B50EFDA.3050108@codesourcery.com> Date: Fri, 15 Jan 2010 22:44:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Stan Shebs CC: gdb-patches@sourceware.org Subject: Re: [PATCH] Trace file support References: <4B4BD994.9070701@codesourcery.com> In-Reply-To: <4B4BD994.9070701@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2010-01/txt/msg00422.txt.bz2 Stan Shebs wrote: > This patch adds support for trace files, which are simply dumps of a > target's tracepoints and trace buffer. In addition to the new "tsave" > command to create a trace file, there is a new target "tfile" that > opens a trace file and then lets you do tfind and then print any data > that was collected, just as for you would do for a live target. I've just committed all this. Just a few minor changes from the posted version; a NEWS item, a gdbtk tweak, testsuite addition, and fixes for bugs exposed by testsuite :-) . The testsuite bit is notable in that it supposedly can run anywhere, irrespective of architecture and existence live tracing support, by having the test program manually synthesize a trace file. Be sure to let me know if I'm wrong about its portability! Stan