From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5434 invoked by alias); 27 Jun 2009 16:07:15 -0000 Received: (qmail 5242 invoked by uid 22791); 27 Jun 2009 16:07:14 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 27 Jun 2009 16:07:05 +0000 Received: from spaceape7.eur.corp.google.com (spaceape7.eur.corp.google.com [172.28.16.141]) by smtp-out.google.com with ESMTP id n5RG71Gw030363 for ; Sat, 27 Jun 2009 17:07:02 +0100 Received: from yxe33 (yxe33.prod.google.com [10.190.2.33]) by spaceape7.eur.corp.google.com with ESMTP id n5RG6Rot007345 for ; Sat, 27 Jun 2009 09:06:59 -0700 Received: by yxe33 with SMTP id 33so5004751yxe.26 for ; Sat, 27 Jun 2009 09:06:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.119.15 with SMTP id r15mr4270841agc.98.1246118819062; Sat, 27 Jun 2009 09:06:59 -0700 (PDT) In-Reply-To: <000601c9f678$3f3312f0$bd9938d0$@u-strasbg.fr> References: <000901c9f5ef$4ee06f10$eca14d30$@u-strasbg.fr> <20090626154512.GG30070@ednor.casa.cgf.cx> <000601c9f678$3f3312f0$bd9938d0$@u-strasbg.fr> Date: Sat, 27 Jun 2009 16:07:00 -0000 Message-ID: Subject: Re: [RFC] Add windows Thread Information Block From: Doug Evans To: Pierre Muller Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes 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/msg00762.txt.bz2 On Fri, Jun 26, 2009 at 9:07 AM, Pierre Muller wro= te: > > >> From Christopher Faylor > >> I can't tell you how many times I've wanted something like this. =A0I >> always end up standing on my head to get the tib information. =A0I have >> no >> problem with most of the implementation except that I think this should >> be a show command not a stand-alone command. =A0And, 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. fwiw, I think "info" is more consistent with other gdb commands, style-wise. It's "info auxv", not "show auxv", for example. [Unless of course you can imagine a way to _set_ values in the tib.] Though I like "thread-information-block" + "tib" alias. I don't think there's a need for "w32" in the middle. It's not "info foo auxv" for example. [Unless there was a way to get both w32 and w64 versions from one task, which seems unlikely.]