RE: [RFC] Removing in process agent (IPA)

"Terekhov, Mikhail" <[email protected]>
Newsgroups gmane.comp.gdb.patches,gmane.comp.gdb.devel
Message-ID <DM5PR1901MB2150F9F2A58AA2FF0ABAA8D5E5C22@DM5PR1901MB2150.namprd19.prod.outlook.com>
Internal Use - Confidential
> -----Original Message-----
> From: Andrew Burgess <[email protected]>
> Sent: Friday, June 14, 2024 4:08 AM
> To: Terekhov, Mikhail <[email protected]>; Luis Machado
> <[email protected]>; [email protected]
> [email protected]
> Cc: Pedro Alves <[email protected]>
> Subject: RE: [RFC] Removing in process agent (IPA)
>
>
> [EXTERNAL EMAIL]
>
> "Terekhov, Mikhail" <[email protected]> writes:
>
> >> -----Original Message-----
> >> From: Luis Machado <[email protected]>
> >>
> >> Similarly, I also think it might be time to consider dropping the
> >> tracepoints (mainly static and fast) machinery from gdbserver, as I
> >> suspect that is another mechanism that is not being used very often.
> >>
> > We use tracepoints in our stub from the last millennia I guess (back
> > from EMC days) and plan to do so in the future.
> >
> >> I recall trying to use tracepoints for practical purposes (back in
> >> the day), and it wasn't up to the task, being too cumbersome to use,
> >> having bad failure modes
> >
> > Putting some UI/GUI on top of it makes it relatively simple to use.
> >
> >> and having other security implications when trying to debug stuff in
> >> production platforms. The remote protocol side of it is OK, but
> >> again, I bet no debugging stubs are using that anymore.
> >
> > We do use them but not in production though.
>
> Just so I'm clear, you're talking about tracepoints here either in gdbserver, or at
> least (if you have your own stub) in GDB and the remote protocol, right?
>
Yes, you are right, I'm talking about GDB, remote protocol and stub.
May be gdbserver in the future.

> This doesn't require gdb to continue shipping the IPA right?  Or have I failed to
> understand your position?
>
We do not use IPA explicitly and I did not check if it's code is used in the tracepoints implementation.
My replay was to the proposal to drop tracepoints.

Regards,
Mikhail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.