Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb@sources.redhat.com
Subject: Re: (linux/threads) Interesting side-effect of "auto-solib-add 0"
Date: Wed, 13 Sep 2006 03:47:00 -0000	[thread overview]
Message-ID: <20060913034752.GA28904@nevyn.them.org> (raw)
In-Reply-To: <20060913034518.GH24293@adacore.com>

On Tue, Sep 12, 2006 at 08:45:18PM -0700, Joel Brobecker wrote:
> I have been thinking about that, but there were several little factors
> that made me reconsider. The one that I didn't like the most was the
> fact that the only way I could see to detect the pthread library being
> loaded is by looking at its name. It doesn't feel very elegant to have
> to search for "/libpthread.so" or somesuch in GDB. I don't know very
> well how GNU/Linux distributions are made, but couldn't that library
> be named libpthread-1.8.0.so, for instance, making its identification
> harder?

Well, if you wanted to be that precise about it, you could do it by
SONAME.  But I think matching libpthread wouldn't be that bad of a
hack.

>   2. Document the limitation (Eli also agreed with the idea)

Let's go with this for now then.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-09-13  3:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-13  0:27 Joel Brobecker
2006-09-13  0:33 ` Daniel Jacobowitz
2006-09-13  0:47   ` Joel Brobecker
2006-09-13  2:21     ` Daniel Jacobowitz
2006-09-13  3:45       ` Joel Brobecker
2006-09-13  3:47         ` Daniel Jacobowitz [this message]
2006-09-13  3:23     ` Eli Zaretskii

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=20060913034752.GA28904@nevyn.them.org \
    --to=drow@false.org \
    --cc=brobecker@adacore.com \
    --cc=gdb@sources.redhat.com \
    /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