Remove redundant test in update_inserted_breakpoint_locations
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.
This commit is contained in:
parent
0192e8aeeb
commit
4daf19021f
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -2898,7 +2898,7 @@ update_inserted_breakpoint_locations (void)
|
|||
/* 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);
|
||||
|
|
Loading…
Reference in New Issue