This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH, doc RFA] Allow CLI and Python conditions to be set on same breakpoint


On 11/14/2013 05:48 PM, Doug Evans wrote:

> Regression tested on amd64-linux.
> 
> Ok to check in?
> 

This is fine with me.

> -  if (cond && b->disposition != disp_del_at_next_stop)
> +  if (cli_cond && b->disposition != disp_del_at_next_stop)

(BTW, I notice that the 'b->disposition != disp_del_at_next_stop'
handling in this function looks suspicious.)

>        if (within_current_scope)
> -	value_is_zero
> -	  = catch_errors (breakpoint_cond_eval, cond,
> +	{
> +	  int cond_result =

= goes on the next line.

-- 
Pedro Alves


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