Add a couple of missing nullptr checks in the function
bpstat_check_breakpoint_conditions.
No user visible change after this commit.
else
cond = bl->cond.get ();
- if (cond && b->disposition != disp_del_at_next_stop)
+ if (cond != nullptr && b->disposition != disp_del_at_next_stop)
{
int within_current_scope = 1;
struct watchpoint * w;
value_free_to_mark (mark);
}
- if (cond && !condition_result)
+ if (cond != nullptr && !condition_result)
{
infrun_debug_printf ("condition_result = false, not stopping");
bs->stop = 0;