[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] dynamic libraries



(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


>>>Adam Heath <doogie@xxxxxxxxxxxxx> 02/23/05 5:12 pm >>> 
On Wed, 23 Feb 2005, smohekey@xxxxxxxxxxxxxxxx wrote: 
 
> 
>On Wed, Feb 23, 2005 at 06:00:56PM -0600, Adam Heath wrote: 
>> 
>>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 
>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 
Xen-devel@xxxxxxxxxxxxxxxxxxxxx 
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.