From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8942 invoked by alias); 16 Nov 2004 02:14:55 -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 8885 invoked from network); 16 Nov 2004 02:14:44 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 16 Nov 2004 02:14:44 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAG2EgET024725 for ; Mon, 15 Nov 2004 21:14:42 -0500 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAG2Efr08241; Mon, 15 Nov 2004 21:14:42 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id E27E4129D8C; Mon, 15 Nov 2004 21:14:34 -0500 (EST) Message-ID: <41996289.9020907@gnu.org> Date: Tue, 16 Nov 2004 02:21:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Fabian Cenedese Cc: gdb@sources.redhat.com Subject: Re: Remote thread infos References: <5.2.0.9.1.20040920113443.01d5fea8@NT_SERVER> In-Reply-To: <5.2.0.9.1.20040920113443.01d5fea8@NT_SERVER> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00155.txt.bz2 Fabian Cenedese wrote: > Hi > > The remote protocol can ask for thread info and more info (qThreadExtraInfo). > I couldn't find an explicit description about these fields in the manual. > However in the source code these fields are evaluated as follows: > > sprintf(&display_buf[n], " State: %s,", threadinfo.display); > sprintf(&display_buf[n], " Priority: %s", threadinfo.more_display); > > It's quite impossible to use these fields for other info as they are explicitely > prepended with "State" and "Priority". But the manual says: "... may > contain anything that the target OS thinks is interesting for gdb to tell > the user about the thread." Hmm, yes. I think they have something to do with eCos? > Is there a possibility to use these texts > from the CLI as well as MI without the prepended strings? If not > shouldn't the manual say what these texts are for? Would KOD be useful? Or a more descriptive packet? Andrew > I know that I can take the strings and remove the leading word, I > just thought I mention this inconsistency with the manual. > > Thanks > > bye Fabi > > >