[RFA] Link remote target with svr4 solibs.

J.T. Conklin jtc@redback.com
Mon Mar 12 16:30:00 GMT 2001

>>>>> "Michael" == Michael Snyder <msnyder@cygnus.com> writes:
Michael> The following change is necessary in order to activate svr4
Michael> solib debugging for remote targets.  With it, GDB will detect
Michael> when the remote target loads a new shared library (using the
Michael> method implemented in solib-svr4.c), and GDB will load the
Michael> symbols for the library (provided that GDB has been told
Michael> where to find the symbol files, using the "set
Michael> solib-search-path" and "set solib-absolute-prefix"

If I understand the shared library implementation correctly, a magic
breakpoint is inserted in the dynamic loader, which when hit GDB does
normal reads and writes to determine what shared library has been
loaded or unloaded, etc.  If so, practically any remote back end
(perhaps a ROM monitor interface) will provide the infrastructure
required for this to work.

Doesn't this argue that this should reside somewhere above


J.T. Conklin
RedBack Networks

More information about the Gdb-patches mailing list