All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Charles Coffing" <ccoffing@novell.com>
To: doogie@brainfood.com, smohekey@insightful.co.nz
Cc: xen-devel@lists.sourceforge.net
Subject: Re: dynamic libraries
Date: Wed, 23 Feb 2005 17:20:54 -0700	[thread overview]
Message-ID: <s21cbb7d.085@sinclair.provo.novell.com> (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


>>>Adam Heath <doogie@brainfood.com> 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

             reply	other threads:[~2005-02-24  0:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-24  0:20 Charles Coffing [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-02-23 21:28 dynamic libraries Andrei Petrov
2005-02-23 23:08 ` Keir Fraser
2005-02-23 23:14   ` Adam Heath
2005-02-23 23:19     ` Keir Fraser
2005-02-23 23:26       ` Adam Heath
2005-02-23 23:43         ` Keir Fraser
2005-02-24  0:00           ` Adam Heath
2005-02-24  0:09             ` smohekey
2005-02-24  0:12               ` Adam Heath
2005-02-24  0:23       ` Andrei Petrov
2005-02-24  0:46       ` Jacob Gorm Hansen
2005-02-24  0:18     ` Andrei Petrov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s21cbb7d.085@sinclair.provo.novell.com \
    --to=ccoffing@novell.com \
    --cc=doogie@brainfood.com \
    --cc=smohekey@insightful.co.nz \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.