This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tracing broken if target doesn't do disconnected tracing


On Monday 05 April 2010 02:07:56, Stan Shebs wrote:
> I'm thinking that this is in some ways like the circular trace buffer 
> flag, and could be reasonably made accessible via the trace_status 
> structure.  Unless you're just dying to do this yourself :-) , I'll take 
> care of the two together.

Please, be my guest.  :-)

> (I can see where this is going longterm - struct trace_status is 
> effectively a host-side copy of the agent's state, echoed back in 
> response to any instructions that GDB sends down.)

I'd only suggest you keep in mind what will happen when we define
how tracing works with multi-process, as we'll be working on that
soonish.  That is, whether with multi-process, there will be a trace
status object per process, while supporting disconnected tracing
or not sounds like a target (debug interface) wide attribute.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]