From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20497 invoked by alias); 16 Nov 2004 07:59:00 -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 20456 invoked from network); 16 Nov 2004 07:58:54 -0000 Received: from unknown (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org with SMTP; 16 Nov 2004 07:58:54 -0000 Received: from indel.ch (217-162-27-127.dclient.hispeed.ch [217.162.27.127]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with SMTP id iAG7wrq1031807 for ; Tue, 16 Nov 2004 08:58:53 +0100 Received: from fabi.indel.ch [192.168.1.19] by indel.ch [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Tue, 16 Nov 2004 08:56:03 +0100 Message-Id: <5.2.0.9.1.20041116085522.01d1a9e0@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) Date: Tue, 16 Nov 2004 10:55:00 -0000 To: gdb@sources.redhat.com From: Fabian Cenedese Subject: Re: Remote thread infos In-Reply-To: <41996289.9020907@gnu.org> References: <5.2.0.9.1.20040920113443.01d5fea8@NT_SERVER> <5.2.0.9.1.20040920113443.01d5fea8@NT_SERVER> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: gdb@sources.redhat.com X-Return-Path: cenedese@indel.ch X-SW-Source: 2004-11/txt/msg00159.txt.bz2 >>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? Don't know, I have never worked 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? Sorry, what means KOD? >>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