This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: 'conditions' on a breakpoint should default like 'commands'
- To: jingham at apple dot com
- Subject: Re: 'conditions' on a breakpoint should default like 'commands'
- From: Jason Molenda <jason-swarelist at molenda dot com>
- Date: Mon, 10 Sep 2001 10:47:19 -0700
- Cc: gdb-patches at sources dot redhat dot com
Jim wrote:
> I don't think your suggestion will work. The problem is that there is
> no unique way to determine whether the first word of the command after
> "condition" is a breakpoint number or a part of the condition.
Sure enough, I wasn't thinking it through clearly. I knew that cond could
take no arguments after the bp number, but that's a special case to remove
the condition.
Thanks,
Jason