This is the mail archive of the gdb@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: Tracepoints functionality for local targets


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



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