From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17326 invoked by alias); 12 Apr 2005 18:24:08 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17171 invoked from network); 12 Apr 2005 18:24:03 -0000 Received: from unknown (HELO dmz.algor.co.uk) (62.254.210.145) by sourceware.org with SMTP; 12 Apr 2005 18:24:03 -0000 Received: from alg158.algor.co.uk ([62.254.210.158] helo=olympia.mips.com) by dmz.algor.co.uk with esmtp (Exim 3.35 #1 (Debian)) id 1DLQ5t-0008M5-00; Tue, 12 Apr 2005 19:26:37 +0100 Received: from perivale.mips.com ([192.168.192.200]) by olympia.mips.com with esmtp (Exim 3.36 #1 (Debian)) id 1DLQ2Z-0004ow-00; Tue, 12 Apr 2005 19:23:11 +0100 Received: from macro (helo=localhost) by perivale.mips.com with local-esmtp (Exim 3.36 #1 (Debian)) id 1DLQ2Z-0003fT-00; Tue, 12 Apr 2005 19:23:11 +0100 Date: Tue, 12 Apr 2005 18:24:00 -0000 From: "Maciej W. Rozycki" To: Daniel Jacobowitz cc: gdb-patches@sources.redhat.com Subject: Re: Support for "break *ADDRESS thread THREADNO" In-Reply-To: <20050412181334.GA2560@nevyn.them.org> Message-ID: References: <20050412181334.GA2560@nevyn.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MTUK-Scanner: Found to be clean X-MTUK-SpamCheck: not spam (whitelisted), SpamAssassin (score=-4.648, required 4, AWL, BAYES_00) X-SW-Source: 2005-04/txt/msg00095.txt.bz2 On Tue, 12 Apr 2005, Daniel Jacobowitz wrote: > No, sorry. Consider: > > (gdb) p *thread > No symbol table is loaded. Use the "file" command. > > After your patch: > > (gdb) b *thread > A parse error in expression, near `thread'. > > We can get away with this for 'if', because 'if' is a keyword in just > about every language GDB supports, and an unlikely name for a variable. > That's not going to fly for 'thread', however. OK, then I'll file a bug report instead. Perhaps I'll be able to have a look at it again, but not at the moment. Thanks for looking into it. Maciej