From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23403 invoked by alias); 5 Feb 2010 10:53:56 -0000 Received: (qmail 23395 invoked by uid 22791); 5 Feb 2010 10:53:56 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_05,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Feb 2010 10:53:52 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o15Ar402021193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 5 Feb 2010 05:53:04 -0500 Received: from hase.home (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o15Aqx2K025427; Fri, 5 Feb 2010 05:53:00 -0500 From: Andreas Schwab To: Joel Brobecker Cc: Tom Tromey , scott.harrison@tandberg.com, gdb-patches@sourceware.org Subject: Re: New feature: allow thread command to take a LWPID. References: <20100204113543.GB2704@tandberg.com> <20100205032801.GD2715@adacore.com> X-Yow: While I'm in LEVITTOWN I thought I'd like to see the NUCLEAR FAMILY!! Date: Fri, 05 Feb 2010 10:53:00 -0000 In-Reply-To: <20100205032801.GD2715@adacore.com> (Joel Brobecker's message of "Fri, 5 Feb 2010 07:28:01 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2010-02/txt/msg00163.txt.bz2 Joel Brobecker writes: >> I am not super fond of the syntax. I don't have a better suggestion >> though :-( > > I agree about the syntax. How about using a command "switch". > For instance: > > (gdb) thread THREAD_NO > (gdb) thread /l LWP (gdb) thread lwp LWP > We could even think of adding: > > (gdb) thread /t TID (gdb) thread tid TID Andreas. -- Andreas Schwab, schwab@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E "And now for something completely different."