Tracepoints functionality for local targets

Michael Snyder msnyder@specifix.com
Wed Feb 27 01:06:00 GMT 2008


On Tue, 2008-02-26 at 09:27 +0100, Lokesh Gupta wrote:
> Hello,
> 
> Is there some work planned for the working of the tracepoints for
> local targets? While going through the source code, I realized that
> currently this facility is only for remote targets.
> In case nothing is planned, can I have some guidance on how to achieve
> this. I think that it could be a good enhancement to debug
> multi-threaded programs on the local host.

You could define it as two challenges to be addressed:
1) How to instrument the code and collect the data on a 
native system, and
2) the fact that the gdb side is only written to handle
the remote target.

I would certainly love to see a native implementation
happen, and it would be fair to say that #2 is my fault, 
so if somebody were to seriously undertake solving #1, 
I would undertake to at least help work on #2...

Michael




More information about the Gdb mailing list