From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1616 invoked by alias); 26 Jun 2009 16:08:00 -0000 Received: (qmail 1606 invoked by uid 22791); 26 Jun 2009 16:08:00 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.151) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Jun 2009 16:07:52 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id n5QG7mvP041052 ; Fri, 26 Jun 2009 18:07:48 +0200 (CEST) Received: from mailserver.u-strasbg.fr (ms2.u-strasbg.fr [IPv6:2001:660:2402:d::11]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id n5QG7mu4044871 ; Fri, 26 Jun 2009 18:07:48 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller (www-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id n5QG7miM079284 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Fri, 26 Jun 2009 18:07:48 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: "'Christopher Faylor'" , References: <000901c9f5ef$4ee06f10$eca14d30$@u-strasbg.fr> <20090626154512.GG30070@ednor.casa.cgf.cx> In-Reply-To: <20090626154512.GG30070@ednor.casa.cgf.cx> Subject: RE: [RFC] Add windows Thread Information Block Date: Fri, 26 Jun 2009 16:08:00 -0000 Message-ID: <000601c9f678$3f3312f0$bd9938d0$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00727.txt.bz2 > From Christopher Faylor > I can't tell you how many times I've wanted something like this. I > always end up standing on my head to get the tib information. I have > no > problem with most of the implementation except that I think this should > be a show command not a stand-alone command. And, while "tib" is an > accepted abbreviation for "thread information block", I think it makes > sense (as Eli was implying, I think) that the actual command should be > "show thread-information-block" with "show tib" as a alias. With my patch, the command is "info w32 tib" but I can change it to "show thread-information-block" if you prefer, and if the show subcommands can handle the parsing of args. The command support "info w32 tib 0x456" where 0x456 is the ThreadId given by the OS to display another TIB than that of the current thread. > And, of course, as Eli said, we do need documentation. > > Nevertheless, I appreciate your adding this functionality. It will > make debugging Cygwin much easier. Thanks, Pierre