Skip to contentSkip to conversation

dynamic libraries

DISCUSSION Charles Coffing 1 participant 1 message Feb 24, 2005

lore
Share & tools
lore
#0 lore raw

(gdb) help shared
Load shared object library symbols for files matching REGEXP.

In my experience, if the program does a dlopen() after gdb is already attached, gdb won't see the symbols. Just type "sha" and it will load them.

HTH

Quoted 1 line
Quoted 1 line
Quoted 1 line

Adam Heath <[email protected]> 02/23/05 5:12 pm >>>

Quoted 9 lines · On Wed, 23 Feb 2005, [email protected] wrote:
Quoted 3 lines · Adam Heath

You can't debug dynamic libraries. gdb can't load their symbols.

Are you sure about this? I've been debugging dynamic libraries for some

time now. Best results are seen with no optimisation and -ggdb to

enable all

Quoted 1 line

debugging symbols.

There's something that can't work with dynamic libs.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.

Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click