From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20911 invoked by alias); 1 Feb 2002 07:32:48 -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 20801 invoked from network); 1 Feb 2002 07:32:25 -0000 Received: from unknown (HELO calliope1.fm.intel.com) (132.233.247.10) by sources.redhat.com with SMTP; 1 Feb 2002 07:32:25 -0000 Received: from fmsmsxvs041.fm.intel.com (fmsmsxv041-1.fm.intel.com [132.233.48.109]) by calliope1.fm.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.49 2002/01/25 02:16:58 root Exp $) with SMTP id HAA02831 for ; Fri, 1 Feb 2002 07:32:25 GMT Received: from fmsmsx29.FM.INTEL.COM ([132.233.42.29]) by fmsmsxvs041.fm.intel.com (NAVGW 2.5.1.16) with SMTP id M2002013123331729295 ; Thu, 31 Jan 2002 23:33:17 -0800 Received: from alpha.igk.intel.com ([172.28.168.68]) by fmsmsx29.FM.INTEL.COM with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id DVHCB7JF; Thu, 31 Jan 2002 23:32:24 -0800 Received: by alpha.igk.intel.com with Internet Mail Service (5.5.2653.19) id <4L8K15RP>; Fri, 1 Feb 2002 08:32:02 +0100 Message-ID: <413FBB0BA5AED1119122000083234B1A01C74292@alpha.igk.intel.com> From: "Korbel, Michal" To: "'Michael Snyder'" , "Sarnath K - CTD, Chennai." Cc: gdb@sources.redhat.com Subject: RE: Thread Support for remote debugging Date: Thu, 31 Jan 2002 23:32:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="windows-1250" X-SW-Source: 2002-01/txt/msg00391.txt.bz2 GDB have remote thread support and works fine with remote multithread target, to work with this feature you need have GDBSERVER with remote thread support. In the middle of 2001 I was build own version GDBSERVER with remote thread support (x86-linux target only). GDB (this version only) have only one restriction, the connection to remote target can by start only from console window, but after first breakpoints we can use all GDB features with full mouse support. ---------------------------------------------------------------------------- ---------- Michal Korbel - Software engineer Intel Technology Poland Sp. z o.o.; ul. Slowackiego 173; 80-298 Gdansk tel. +48 58 34-81-726; fax: +48 58 34-81-505; mobile:+48 603-203-142 ---------------------------------------------------------------------------- ---------- -----Original Message----- From: Michael Snyder [mailto:msnyder@redhat.com] Sent: Thursday, January 31, 2002 9:41 PM To: Sarnath K - CTD, Chennai. Cc: gdb@sources.redhat.com Subject: Re: Thread Support for remote debugging "Sarnath K - CTD, Chennai." wrote: > > Hi, > I have been browsing the mail archives for > knowing the current state of thread support > while doing remote debugging using GDB. > Although a lot of discussions have happened, > I am not able to find the current state of work > in that area. By "knowing the current state of thread support", do you mean finding out whether the remote target supports thread debugging? If GDB sends the remote target a request that the remote target does not support, there is a well-defined way in which the remote target should respond (I believe it is by sending an empty response). > I downloaded the latest GDB sources. It doesnt > support thread commands during remote debugging. > May I know what is the state of work in this area ? > Is there any patch available for this ? I don't understand. GDB implements the remote protocol for thread support. There are queries defined for asking the target for the current thread ID, changing the current thread ID, asking for a list of "live" threads, asking whether a particular thread is alive...