This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


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

finding shared libraries


[I'm sending this to the address that the FSF has listed as the gdb
maintainer address.]

On the hurd, it's often the case that we want to have gdb attach to
processes which are running different versions of the shared libraries
than the main system is using.  The only problem (that I know of,
anyway) with this is that gdb uses the symbols from shared libraries
in the version of the system that gdb is running in, rather than than
the version of the system that the process being debugged.  This tends
to make gdb hard to use.

If there is a command for telling gdb where to look for the libraries,
I haven't succeeded in finding it.  The net result is that there are
several problems that I have wanted to debug that become painfully
more difficult to debug than they should be.