From: Daniel Jacobowitz <drow@mvista.com>
To: Marius Groeger <mag@sysgo.de>
Cc: gdb-patches@sources.redhat.com, Daniel Junglas <dju@sysgo.de>,
Wolfgang Denk <wd@denx.de>
Subject: Re: Multi-Threaded Extensions for GdbServer
Date: Sat, 25 May 2002 23:13:00 -0000 [thread overview]
Message-ID: <20020526023242.GA8626@branoic.them.org> (raw)
In-Reply-To: <Pine.LNX.4.40.0205221041320.480-101000@mag.devdep.sysgo.de>
On Wed, May 22, 2002 at 10:50:24AM +0200, Marius Groeger wrote:
> Hi all,
>
> several people asked me to post this to the wider audience of gdb
> developers. AFAIK there are several approaches for extending the
> gdbserver to be able to debug remote programs that use threads. The
> attached patch does this. The main advantage of it is that it doesn't
> require libthread_db or symbol information on the target. We need
> this for debugging of embedded targets with limited resources.
> The main downside of the patch is that it's for some pretty ancient
> 5.0 snapshot (20010427). It also contains a small number of general
> fixes which are not related to MT debugging.
Not needing symbol information on the target is definitely the way to
go, but libthread_db is very small and has better reliabilty. I'm
still finishing the legal legwork to get this work committed (I've
already finished it); it should be early next week (really!). After
that I'll take a better look at what you've sent; it may have useful
advantages that I can merge into the existing code. It would be nice
to support both with and without thread_db.
I notice that you added glibc specific code to remote.c and some
protocol extensions; that makes this unsuitable to just drop in.
I believe you needed the same extension that was added in a later
version of GDB for looking up symbols, so this isn't a big deal in any
case.
Thanks!
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-05-26 2:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-22 2:14 Marius Groeger
2002-05-25 23:13 ` Daniel Jacobowitz [this message]
2002-05-27 2:17 ` Marius Groeger
2002-05-28 18:05 ` Andrew Cagney
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=20020526023242.GA8626@branoic.them.org \
--to=drow@mvista.com \
--cc=dju@sysgo.de \
--cc=gdb-patches@sources.redhat.com \
--cc=mag@sysgo.de \
--cc=wd@denx.de \
/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