* utils.c (query): Remove tui hacks; tui must use the query_hook.
[deliverable/binutils-gdb.git] / gdb / breakpoint.c
index ed152bede86684be38d33c3f41e3e7cb314dc886..77e96067df2d7c9bdb169677ac3ae49284f5cce2 100644 (file)
@@ -4576,8 +4576,6 @@ mention (struct breakpoint *b)
       if (b->source_file)
        printf_filtered (": file %s, line %d.",
                         b->source_file, b->line_number);
-      TUIDO (((TuiOpaqueFuncPtr) tui_vAllSetHasBreakAt, b, 1));
-      TUIDO (((TuiOpaqueFuncPtr) tuiUpdateAllExecInfos));
     }
 #ifdef UI_OUT
   do_cleanups (old_chain);
@@ -6831,26 +6829,6 @@ delete_breakpoint (struct breakpoint *bpt)
       break;
     }
 
-  /* Before turning off the visuals for the bp, check to see that
-     there are no other bps at the same address. */
-  if (tui_version)
-    {
-      int clearIt;
-
-      ALL_BREAKPOINTS (b)
-      {
-       clearIt = (b->address != bpt->address);
-       if (!clearIt)
-         break;
-      }
-
-      if (clearIt)
-       {
-         TUIDO (((TuiOpaqueFuncPtr) tui_vAllSetHasBreakAt, bpt, 0));
-         TUIDO (((TuiOpaqueFuncPtr) tuiUpdateAllExecInfos));
-       }
-    }
-
   check_duplicates (bpt);
   /* If this breakpoint was inserted, and there is another breakpoint
      at the same address, we need to insert the other breakpoint.  */
This page took 0.032231 seconds and 4 git commands to generate.