From: Daniel Jacobowitz <drow@mvista.com>
To: Kevin Hilman <khilman@equator.com>
Cc: gdb@sources.redhat.com
Subject: Re: multi-thread gdbserver and static libthread_db
Date: Mon, 21 Apr 2003 16:10:00 -0000 [thread overview]
Message-ID: <20030421161034.GA8325@nevyn.them.org> (raw)
In-Reply-To: <r2el3vrg6j.fsf@equator.com>
On Mon, Apr 21, 2003 at 09:03:32AM -0700, Kevin Hilman wrote:
> I have an egdbserver port working from gdb 5.2.1 and would like to get
> the multi-thread support available in 5.3.
>
> It appears gdbserver needs the libthread_db support from glibc. I'm
> using glibc 2.2.4 and only have support for static linking on my
> platform. When building glibc without dynamic linking, libthread_db
> doesn't get built. Any suggestions for building a static
> libthread_db?
Actually yes, it's pretty easy. In the glibc source,
linuxthreads_db/Makefile:
-libthread_db-inhibit-o = $(filter-out .os,$(object-suffixes))
+#libthread_db-inhibit-o = $(filter-out .os,$(object-suffixes))
In general it's not a good idea, since you must match the libpthread
version precisely; but if you don't have dynamic linking, then this is
probably the way to go.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-04-21 16:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-21 16:03 Kevin Hilman
2003-04-21 16:10 ` Daniel Jacobowitz [this message]
2003-04-21 17:19 ` Kevin Hilman
2003-04-21 17:26 ` Daniel Jacobowitz
2003-04-21 17:45 ` Kevin Hilman
2003-04-21 17:48 ` Daniel Jacobowitz
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=20030421161034.GA8325@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb@sources.redhat.com \
--cc=khilman@equator.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