WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

<Prev in Thread] Current Thread [Next in Thread>