Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: David Lecomber <david@allinea.com>
Cc: Peter Choi <peter_tkchoi@yahoo.com>, gdb@sources.redhat.com
Subject: Re: [NEED HELP] Problem to multithread remote debugging with GDBserver
Date: Thu, 27 Oct 2005 13:50:00 -0000	[thread overview]
Message-ID: <20051027135045.GA23143@nevyn.them.org> (raw)
In-Reply-To: <1130420692.1548.93.camel@cpc2-oxfd8-3-0-cust199.oxfd.cable.ntl.com>

On Thu, Oct 27, 2005 at 02:44:52PM +0100, David Lecomber wrote:
> Hi Daniel
> 
> A much asked question seems to be how do you implement multithread
> support in gdbserver..   Where would you go about finding documentation
> for this, my googling has only so far come up with an email from you of
> about two years or so ago seeing we need some docs!  Is there a True
> Definitive Guide?

It's not really a frequently asked question - it generally only gets
asked once per target :-)  The frequently asked question is how to make
it work.

There are no docs, really - but it's just a matter of adding the
missing methods to the linux-<foo>-low.c file and most of them have it
now.  I believe get_pc and set_pc are the most important ones.  Check
one where it works to see the rest, or look through the changelog.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


  reply	other threads:[~2005-10-27 13:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-27 10:27 Peter Choi
2005-10-27 12:47 ` Daniel Jacobowitz
2005-10-27 13:25   ` David Lecomber
2005-10-27 13:50     ` Daniel Jacobowitz [this message]
2005-10-28  1:55   ` Peter Choi
2005-10-28  3:05     ` Daniel Jacobowitz
2005-10-28  4:50   ` Peter Choi
2005-10-28  4:58   ` Peter Choi
2005-10-28 12:47     ` Daniel Jacobowitz
2005-10-31  1:51       ` Peter Choi
2005-10-31  4:20         ` 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=20051027135045.GA23143@nevyn.them.org \
    --to=drow@false.org \
    --cc=david@allinea.com \
    --cc=gdb@sources.redhat.com \
    --cc=peter_tkchoi@yahoo.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