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"
On Tue, Apr 12, 2005 at 12:17:34PM -0700, Stan Shebs wrote:
> Eli Zaretskii wrote:
>
> >
> >Or maybe a command option "break --thread=ID *ADDR". (Or did we
> >decide to not use such syntax?)
> >
> "--" is still valid expression syntax, though unlikely in
> that context.
>
> Looking at the keyboard, I don't see much that is not already
> part of language or GDB syntax. How about '/', which has no
> unary usage, and is already used for command modifiers?
Fortunately, break does not take an expression; in 'break *FOO' FOO can
be an expression, but the * is not part of it.
(The question of using -- options is a different one. Response was
pretty negative the last time we discussed this, IIRC. But I like it.)
--
Daniel Jacobowitz
CodeSourcery, LLC