Remove a redundant test in update_inserted_breakpoint_locations.
gdb/ChangeLog
2018-09-21 Yacov Simhony <ysimhony@gmail.com>
* breakpoint.c (update_inserted_breakpoint_locations): Remove
redundant condition.
+2018-09-21 Yacov Simhony <ysimhony@gmail.com>
+
+ * breakpoint.c (update_inserted_breakpoint_locations): Remove
+ redundant condition.
+
2018-09-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* proc-utils.h (PROC_CTL_WORD_TYPE): Remove.
/* We only want to update locations that are already inserted
and need updating. This is to avoid unwanted insertion during
deletion of breakpoints. */
- if (!bl->inserted || (bl->inserted && !bl->needs_update))
+ if (!bl->inserted || !bl->needs_update)
continue;
switch_to_program_space_and_thread (bl->pspace);