[gdb/tui] Fix breakpoint display functionality
[deliverable/binutils-gdb.git] / gdb / tui / tui-winsource.c
index afd51e95980c7db7ec8d56b8bb0a1672b0b8f1e6..955b68901fe6c33c43b5ab7ee30313f36f5203d0 100644 (file)
@@ -460,7 +460,7 @@ tui_source_window_base::update_breakpoint_info
       for (breakpoint *bp : all_breakpoints ())
        {
          if (bp == being_deleted)
-           return false;
+           continue;
 
          for (bp_location *loc : bp->locations ())
            {
@@ -478,7 +478,6 @@ tui_source_window_base::update_breakpoint_info
                    mode |= TUI_BP_HARDWARE;
                }
            }
-         return false;
        }
 
       if (line->break_mode != mode)
This page took 0.023829 seconds and 4 git commands to generate.