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] |
If you are using gdb-4.17, which is the current version of GDB, try (gdb) help set solib-absolute-prefix Set prefix for loading absolute shared library symbol files. For other (relative) files, you can add values using `set solib-search-path'. (gdb) help set solib-search-path Set the search path for loading non-absolute shared library symbol files. This takes precedence over the environment variables PATH and LD_LIBRARY_PATH. before attaching to the process. > [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. -- Peter Schauer pes@regent.e-technik.tu-muenchen.de