From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21612 invoked by alias); 13 Apr 2005 17:37:26 -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 21457 invoked from network); 13 Apr 2005 17:37:13 -0000 Received: from unknown (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org with SMTP; 13 Apr 2005 17:37:13 -0000 Received: from zaretski (IGLD-84-228-140-110.inter.net.il [84.228.140.110]) by romy.inter.net.il (MOS 3.5.6-GR) with ESMTP id AZC30248 (AUTH halo1); Wed, 13 Apr 2005 20:36:35 +0300 (IDT) Date: Wed, 13 Apr 2005 17:37:00 -0000 From: "Eli Zaretskii" To: "Maciej W. Rozycki" Message-ID: <01c5404e$Blat.v2.4$da8679c0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: drow@false.org, gdb-patches@sources.redhat.com, macro@linux-mips.org In-reply-to: (macro@mips.com) Subject: Re: Support for "break *ADDRESS thread THREADNO" Reply-to: Eli Zaretskii References: <20050412181334.GA2560@nevyn.them.org> <01c53f90$Blat.v2.4$17427900@zahav.net.il> <20050412185549.GA9715@nevyn.them.org> X-SW-Source: 2005-04/txt/msg00116.txt.bz2 > Date: Wed, 13 Apr 2005 11:35:29 +0100 (BST) > From: "Maciej W. Rozycki" > cc: Eli Zaretskii , gdb-patches@sources.redhat.com, > "Maciej W. Rozycki" > > I think the actual problem is the expression parser cannot be told to > stop successfully on an unparseable token as long as the expression > collected so far is valid and let the caller deal with that. We could detect and remove the "thread NUMBER" part from the string we pass to the parser, couldn't we?