This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 'conditions' on a breakpoint should default like 'commands'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]