From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5967 invoked by alias); 20 Sep 2004 09:48:07 -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 5921 invoked from network); 20 Sep 2004 09:48:05 -0000 Received: from unknown (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org with SMTP; 20 Sep 2004 09:48:05 -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 i8K9m2mv016900 for ; Mon, 20 Sep 2004 11:48:02 +0200 Received: from fabi.indel.ch [192.168.1.19] by indel.ch [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Mon, 20 Sep 2004 11:47:42 +0200 Message-Id: <5.2.0.9.1.20040920113443.01d5fea8@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) Date: Mon, 20 Sep 2004 09:48:00 -0000 To: gdb@sources.redhat.com From: Fabian Cenedese Subject: Remote thread infos 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-09/txt/msg00159.txt.bz2 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." 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? 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