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] |
Hi all, This patch builds on the probes-based runtime linker interface, adding incremental library list loading. The list of currently loaded libraries is cached in the program space, and updated as necessary whenever a solib event breakpoint is hit. I've tried to make it fail as gracefully as possible for maximum forward compatibility: if something happens that it does not understand then the cache will be wiped and not repopulated until an event occurs that it does understand. Until such time GDB will use its previous behaviour of walking the entire link map each time a solib event occurs. I have of course tested this locally, but I don't have a real world example of an application using thousands of shared libraries, so I'd really appreciate feedback from those of you that do. Cheers, Gary -- http://gbenson.net/
Attachment:
rtld-stap-3.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |