From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13890 invoked by alias); 24 Nov 2009 17:08:41 -0000 Received: (qmail 13879 invoked by uid 22791); 24 Nov 2009 17:08:40 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,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; Tue, 24 Nov 2009 17:08:33 +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 nAOH7llR025196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 24 Nov 2009 12:07:47 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nAOH7lwb003554; Tue, 24 Nov 2009 12:07:47 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id nAOH7k0H031717; Tue, 24 Nov 2009 12:07:46 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 9F9FA378261; Tue, 24 Nov 2009 10:07:45 -0700 (MST) From: Tom Tromey To: Andrew Stubbs Cc: gdb-patches@sourceware.org, "Maciej W. Rozycki" , Vladimir Prus , Eli Zaretskii Subject: Re: RFC: Fix "break *EXP thread NUM" References: <20091123212736.GA3828@caradoc.them.org> <4B0BB652.3080303@codesourcery.com> <20091124142406.GA14875@caradoc.them.org> Reply-To: tromey@redhat.com Date: Tue, 24 Nov 2009 17:08:00 -0000 In-Reply-To: <20091124142406.GA14875@caradoc.them.org> (Daniel Jacobowitz's message of "Tue, 24 Nov 2009 09:24:06 -0500") 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: 2009-11/txt/msg00526.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: >> (gdb) b main thread -10 >> Unknown thread -10. Daniel> Ditto, and these are much more trouble because thread +10 is a valid C Daniel> expression. Fortunately, thread numbers are always positive. Is this Daniel> useful? I think it is fine for us to accept only whatever it is that gdb prints. Translating gdb's thread id to octal can't be a common thing to do. Thanks for working on this; it has come up several time. BTW, it is PR 8704. Tom