On-demand shared libraries' debuginfo loading
Responsible: Sergio Durigan Junior <email@example.com>
Make GDB lazily load debuginfo for shared libraries.
The project has been divided into 3 main tasks. They are:
Avoid calling solib_read_symbols; make the backtrace command obey the on-demand load. <<DONE>>
Treat solib_map_sections and make it be called only for needed libraries (i.e., libraries which are requested on-demand). <<WORKING ON>>
Making it transparent. Adding some target_ops to catch any accesses which would result in in accessible memory (as we no longer have the mapping from part two) and through the DYNAMIC segment guess (present already in the patch of part one) it could try to solib_map_sections -> add_target_sections the appropriate library. <<TO BE DONE>>
Links for patches
http://sourceware.org/ml/gdb-patches/2011-07/msg00446.html -- This first version of the patch has been refused because it lacked the second part (above).