From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles Coffing" Subject: Re: dynamic libraries Date: Wed, 23 Feb 2005 17:20:54 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: doogie@brainfood.com, smohekey@insightful.co.nz Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org (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 02/23/05 5:12 pm >>> On Wed, 23 Feb 2005, smohekey@insightful.co.nz 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@lists.sourceforge.net 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