Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <me@cgf.cx>
To: gdb@sourceware.org
Subject: How does solib handline shared library unloads?
Date: Tue, 01 Nov 2005 05:39:00 -0000	[thread overview]
Message-ID: <20051101053934.GA15899@trixie.casa.cgf.cx> (raw)

Can anyone enlighten me as to how information about a library is
relinquished when a library loaded via dlopen is unloaded via dlclose?
Theoretically, the information about the library should be removed and
the library should not be listed by "info sharedlibrary".

I don't see any way for this to be handled in solib.c and inf*.c but I'm
sure I'm just missing something obvious.  I haven't written a test case
yet to see how it is being handled but I was hoping someone could
clarify this for me.

cgf


             reply	other threads:[~2005-11-01  5:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-01  5:39 Christopher Faylor [this message]
2005-11-01  6:59 ` Mark Kettenis
2005-11-01 13:45   ` Christopher Faylor
2005-11-01 13:51     ` Daniel Jacobowitz
2005-11-01 14:40       ` Christopher Faylor
2005-11-01 15:12         ` Daniel Jacobowitz
2005-11-01 16:20           ` Christopher Faylor
2005-11-01 16:24             ` Daniel Jacobowitz
2005-11-01 18:24               ` Mark Kettenis

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=20051101053934.GA15899@trixie.casa.cgf.cx \
    --to=me@cgf.cx \
    --cc=gdb@sourceware.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox