From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30987 invoked by alias); 27 Oct 2005 13:50:56 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 30946 invoked by uid 22791); 27 Oct 2005 13:50:48 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 27 Oct 2005 13:50:48 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EV89V-00061z-1i; Thu, 27 Oct 2005 09:50:45 -0400 Date: Thu, 27 Oct 2005 13:50:00 -0000 From: Daniel Jacobowitz To: David Lecomber Cc: Peter Choi , gdb@sources.redhat.com Subject: Re: [NEED HELP] Problem to multithread remote debugging with GDBserver Message-ID: <20051027135045.GA23143@nevyn.them.org> Mail-Followup-To: David Lecomber , Peter Choi , gdb@sources.redhat.com References: <20051027102655.88385.qmail@web32913.mail.mud.yahoo.com> <20051027124722.GB21596@nevyn.them.org> <1130420692.1548.93.camel@cpc2-oxfd8-3-0-cust199.oxfd.cable.ntl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1130420692.1548.93.camel@cpc2-oxfd8-3-0-cust199.oxfd.cable.ntl.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-10/txt/msg00160.txt.bz2 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--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