[PATCH] No resuming while tfinding

Stan Shebs stan@codesourcery.com
Wed Mar 17 17:31:00 GMT 2010


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



More information about the Gdb-patches mailing list