From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26728 invoked by alias); 4 Nov 2008 21:26:13 -0000 Received: (qmail 26633 invoked by uid 22791); 4 Nov 2008 21:26:12 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Nov 2008 21:25:35 +0000 Received: (qmail 21525 invoked from network); 4 Nov 2008 21:25:34 -0000 Received: from unknown (HELO macbook-2.local) (stan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Nov 2008 21:25:34 -0000 Message-ID: <4910BDC8.3040300@codesourcery.com> Date: Tue, 04 Nov 2008 21:26:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: jeremy.bennett@embecosm.com CC: gdb@sourceware.org Subject: Re: Tracepoint enhancements References: <490B630F.8010008@codesourcery.com> <1225703489.3694.69.camel@thomas> In-Reply-To: <1225703489.3694.69.camel@thomas> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00027.txt.bz2 Jeremy Bennett wrote: > On Fri, 2008-10-31 at 12:57 -0700, Stan Shebs wrote: > >> A bigger change would be to introduce a general notion of execution >> history, which could subsume fork checkpoints and trace snapshots, maybe >> tie into some versions of reverse debugging as well. >> > > Which also requires a way of specifying what execution you are talking > about. A uniform way of addressing potentially hundreds of thousands of > threads of control individually and in arbitrary groupings. > > The "inferior/thread set" syntax for multiprocess GDB has the ability to do numerical ranges and unions and such, so it gets at least part of the way there. One of the things that struck me about TotalView is that they introduced dozens of special-purpose predicates as well - "system-created lwps that were locked out but are now runnable and yet haven't run yet". :-) I suspect that practical usage with GDB will demonstrate that many of those are not as silly as they sound, and we'll be wanting our own versions! Stan