[PATCH] simplify bpstat_check_breakpoint_conditions

Pedro Alves palves@redhat.com
Tue Nov 12 09:54:00 GMT 2013


On 11/12/2013 04:05 AM, Doug Evans wrote:

> This patch simplifies bpstat_check_breakpoint_conditions a bit.
> 
> Regression tested on amd64-linux.
> Ok to check in?

Looks good to me.

> [Appended at the end is the same patch with diff's -b option added
> to make the actual changes easier to see.]

Thanks, that's quite helpful.

> 
> 2013-11-11  Doug Evans  <xdje42@gmail.com>
> 
>     	* breakpoint.c (bpstat_check_breakpoint_conditions): Assert
>     	bs->stop != 0 on entry.  Update function comment.  Simplify early
>     	exit for frame mismatch.  Reindent rest of function.

-- 
Pedro Alves



More information about the Gdb-patches mailing list