From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17637 invoked by alias); 17 Mar 2010 17:31:05 -0000 Received: (qmail 17628 invoked by uid 22791); 17 Mar 2010 17:31:04 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 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; Wed, 17 Mar 2010 17:30:59 +0000 Received: (qmail 20737 invoked from network); 17 Mar 2010 17:30:57 -0000 Received: from unknown (HELO macbook-2.local) (stan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 17 Mar 2010 17:30:57 -0000 Message-ID: <4BA111CB.3050000@codesourcery.com> Date: Wed, 17 Mar 2010 17:31:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Pedro Alves CC: gdb-patches@sourceware.org, Marc Khouzam , Stan Shebs Subject: Re: [PATCH] No resuming while tfinding References: <4BA0377C.1040000@codesourcery.com> <201003171521.59901.pedro@codesourcery.com> In-Reply-To: <201003171521.59901.pedro@codesourcery.com> Content-Type: text/plain; charset=UTF-8; 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-03/txt/msg00627.txt.bz2 Pedro Alves wrote: > On Wednesday 17 March 2010 01:59:24, Stan Shebs wrote: > >> So I propose that we make an executive decision to disable all the >> resumption commands while in tfind mode. Does this make sense to everyone? >> > > I object to not making this change. :-) > > We should look at tfind mode as sort of a different > target. It's is kind of similar to debugging a core dump > while still connecting to a live target. Yeah, this is one of those places where we wish the target stack was actually as flexible as it was envisioned to be. Once we get a tracepoint-supporting gdbserver, perhaps someone can just try the experiment of creating a tfind target. It might not need anything more hairy than some explicit calls down into the target stack, for instance to read memory using the target that is actually storing the collected data. I can see users really really liking it if resumption commands were to work and do the expected things - and now we have reverse execution commands that could be used to find previous trace frames.... Stan