This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: 'conditions' on a breakpoint should default like 'commands'
- To: Fernando Nasser <fnasser at redhat dot com>
- Subject: Re: 'conditions' on a breakpoint should default like 'commands'
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 11 Sep 2001 11:00:50 -0400
- Cc: Jim Ingham <jingham at apple dot com>, gdb at sources dot redhat dot com
- References: <368274E8-A606-11D5-8DC8-000A277A8808@apple.com> <3B9CEF43.2962317F@redhat.com>
> That explains why it was not implemented.
>
> The CLI syntax sucks. It was intended to accommodate lazy typists.
> The expression should come enclosed in "". [:-(]
i'd nominate the cli parser as a better candidate for what sux. what
syntax? with a proper parser, parsing either:
condition <expression> <expression>
and
condition <expression>
might just be possible.
can jason's patch be turned into either a doco or comment addition?
andrew