Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kimball Thurston <kimball@sgrail.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Kimball Thurston <kimball@sgrail.com>, gdb@sources.redhat.com
Subject: Re: gdb and dlopen
Date: Tue, 16 Oct 2001 22:25:00 -0000	[thread overview]
Message-ID: <y3r1yk2yh1p.wl@paladin.sgrail.com> (raw)
In-Reply-To: <3BCCF83F.8010401@cygnus.com>

> 
> To play the part of Bart Simpons dog:  blah blah blah blah blah PTHREADS 
> blah blah 4.18 blah blah 5.x :-)

And to play the part of Homer: DOH! ;-P

> Thread support was given a serious overhall in 5.0 (it became 
> maintainable and fixable).
> 
> Can you try this with/without the thread library linked in?  Everytime 
> GDB sees a shared library being loaded it goes frobbing around to see if 
> it contains some thread support code.  That could be the problem.
> 

It took a little hacking, but I hacked out the multi-threaded aspect
of our app so I could not link in libpthread, and loading went from
150+ seconds for the dsos to well under 1 second. I think we have our
suspect... :) 

I went to the document on the internals of GDB, and the thread section
is empty - where can I get a primer on how the thread support works,
and how the thread_db affects all this - I tried to trace through the
code a bit, to follow what was said before about svr4_current_sos, and
couldn't figure out how the thread stuff is affecting stuff for
dlopen...

- Kimball


  parent reply	other threads:[~2001-10-16 22:25 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <y3radyrjqf8.wl@paladin.sgrail.com>
2001-10-16 13:15 ` Daniel Jacobowitz
2001-10-16 18:23   ` Kimball Thurston
     [not found]     ` <20011016213252.A8694@nevyn.them.org>
2001-10-16 19:03       ` Daniel Jacobowitz
2001-10-16 20:04         ` Kimball Thurston
2001-10-16 20:17           ` Andrew Cagney
2001-10-16 22:08             ` Daniel Jacobowitz
2001-10-16 22:19               ` Daniel Jacobowitz
     [not found]                 ` <y3rzo6qx1ej.wl@paladin.sgrail.com>
2001-10-16 22:52                   ` Kimball Thurston
2001-10-17  8:07                 ` Mark Kettenis
2001-10-17  8:29                   ` H . J . Lu
2001-10-17 11:09                   ` Daniel Jacobowitz
2001-10-17 14:26                     ` Mark Kettenis
2001-10-17 14:34                       ` Daniel Jacobowitz
2001-10-17  8:54                 ` Andrew Cagney
2001-10-17 15:08                 ` Kevin Buettner
2001-10-17 15:57                   ` Andrew Cagney
2001-10-17 17:05                     ` Daniel Jacobowitz
2001-10-17 23:14                       ` Andrew Cagney
2001-10-17  8:42               ` Andrew Cagney
2001-10-17 11:15                 ` Daniel Jacobowitz
2001-10-17 12:09                   ` Kimball Thurston
2001-10-17 12:58                     ` Kevin Buettner
2001-11-08  0:22                       ` Daniel Jacobowitz
2001-11-08  8:17                         ` Kevin Buettner
2001-11-08  9:44                           ` Daniel Jacobowitz
2001-11-08 10:49                             ` Kevin Buettner
2001-11-08 11:14                               ` Daniel Jacobowitz
2001-11-08 16:17                                 ` Andrew Cagney
2001-10-16 22:25             ` Kimball Thurston [this message]
2001-10-16 15:05 ` H . J . Lu

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=y3r1yk2yh1p.wl@paladin.sgrail.com \
    --to=kimball@sgrail.com \
    --cc=ac131313@cygnus.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