Discussion:
info sharedlibrary vs. pldd; gdb Solaris 11
(too old to reply)
Björn Töpel
2014-10-23 14:30:27 UTC
Permalink
Raw Message
I'm debugging a core file on Oracle Solaris 11 x86_64.

When I run pldd to list the dynamic libraries linked in the core file I get:
...
/lib/amd64/libthread.so.1
/lib/amd64/libumem.so.1
...

whereas gdb's "info share" returns:
...
/lib/64/libthread.so.1
/lib/64/libumem.so
...

Is it possible to make gdb search for the (canonical) path that pldd
lists? Any tips? Pointers to relevant parts of the source code?

I'm on:
GNU gdb (GDB) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-solaris2.10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.


Björn

Loading...