From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14977 invoked by alias); 31 Jan 2002 20:47:43 -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 14802 invoked from network); 31 Jan 2002 20:47:25 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 31 Jan 2002 20:47:25 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [205.180.231.12]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA20242; Thu, 31 Jan 2002 12:47:19 -0800 (PST) Message-ID: <3C59ABC2.B5AA322E@redhat.com> Date: Thu, 31 Jan 2002 12:47:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2smp i686) X-Accept-Language: en MIME-Version: 1.0 To: "Sarnath K - CTD, Chennai." CC: gdb@sources.redhat.com Subject: Re: Thread Support for remote debugging References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00372.txt.bz2 "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...