]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/breakpoint.c
* breakpoint.c (insert_breakpoints, breakpoint_init_inferior)
[thirdparty/binutils-gdb.git] / gdb / breakpoint.c
index 34618247b0548d605c772554f13ee4907aa4027b..e36429da92f9bcbbbec575fc5a3eb19e8a4e097c 100644 (file)
@@ -1290,8 +1290,7 @@ insert_breakpoints (void)
 
   if (!breakpoints_always_inserted_mode ()
       && (target_has_execution
-         || (gdbarch_has_global_solist (target_gdbarch)
-             && target_supports_multi_process ())))
+         || gdbarch_has_global_breakpoints (target_gdbarch)))
     /* update_global_location_list does not insert breakpoints
        when always_inserted_mode is not enabled.  Explicitly
        insert them now.  */
@@ -1780,7 +1779,7 @@ breakpoint_init_inferior (enum inf_context context)
 
   /* If breakpoint locations are shared across processes, then there's
      nothing to do.  */
-  if (gdbarch_has_global_solist (target_gdbarch))
+  if (gdbarch_has_global_breakpoints (target_gdbarch))
     return;
 
   ALL_BP_LOCATIONS (bpt)
@@ -7200,8 +7199,7 @@ update_global_location_list (int should_insert)
 
   if (breakpoints_always_inserted_mode () && should_insert
       && (target_has_execution
-         || (gdbarch_has_global_solist (target_gdbarch)
-             && target_supports_multi_process ())))
+         || (gdbarch_has_global_breakpoints (target_gdbarch))))
     insert_breakpoint_locations ();
 
   do_cleanups (cleanups);