This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Support for "break *ADDRESS thread THREADNO"
> Date: Wed, 13 Apr 2005 11:35:29 +0100 (BST)
> From: "Maciej W. Rozycki" <macro@mips.com>
> cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sources.redhat.com,
> "Maciej W. Rozycki" <macro@linux-mips.org>
>
> 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?