[RFC] Removing in process agent (IPA)

Tom Tromey tom@tromey.com
Thu Jun 13 16:38:14 GMT 2024


>> I'd like to have a conversation about whether or not we want to keep the
>> in-process-agent (IPA or libinproctrace.so).

Maybe you should ask on gdb@.

I personally have never used tracepoints or IPA.  However, I'm not
exactly in the target audience, either, since most of my debugging is on
gdb itself.

Luis> Similarly, I also think it might be time to consider dropping the tracepoints
Luis> (mainly static and fast) machinery from gdbserver, as I suspect that is another
Luis> mechanism that is not being used very often.

Something I found out relatively recently is that agent expressions are
useful for letting gdbserver evaluate (some) breakpoint conditions.
This happens automatically, when possible, and greatly improves
performance.

So, while I don't really mind either way about tracepoints, if we do
remove these we should be careful to keep this part.

Tom


More information about the Gdb mailing list