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: [draft patch 0/6] Split FYI and some review notes


On 13-03-14 02:43 PM, Gary Benson wrote:
It's definitely performance critical on the GDB side.  There are
people out there debugging apps with 4000+ shared libraries, and
that exposes all kinds of issues:)

Per your suggestion of gdbserver sending events... I've spent some
time thinking about this.  I think the direction of the protocol is
correct, in that GDB asks for the library list when it wants it.
What exactly is transferred is open to change (whole list vs deltas)
but I don't know whether anybody is actually having issues with
performance stemming from the size of the transferred list.  I can
certainly imagine scenarios where it would be the bottleneck, but
I don't know if these exist in the real world.

If the reference for apps with 4000+ shared libraries comes from 'real world' then I can imagine passing all 4000+ each time would be one of the "all kinds of issues" that would be exposed :-)


Events would be 'natural' and in accordance with many other events. It doesn't mean gdb could not query for the whole list (e.g. when attaching to an already running process).


--- Aleksandar



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