gdb: fix indentation within print_one_breakpoint_location
authorAndrew Burgess <aburgess@redhat.com>
Thu, 6 Apr 2023 11:02:00 +0000 (12:02 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 11 Apr 2023 11:21:42 +0000 (12:21 +0100)
Spotted some code in print_one_breakpoint_location that was not
indented correctly, this commit just changes the indentation.

There should be no user visible changes after this commit.

gdb/breakpoint.c

index 47f35c6b0e537e544387cf91259f226018abcf83..46287da5f87c2166f15ddb911287809343d036b0 100644 (file)
@@ -6484,15 +6484,15 @@ print_one_breakpoint_location (struct breakpoint *b,
            inf_nums.push_back (inf->num);
        }
 
-       /* For backward compatibility, don't display inferiors in CLI unless
-          there are several.  Always display for MI. */
-       if (allflag
-           || (!gdbarch_has_global_breakpoints (target_gdbarch ())
-               && (program_spaces.size () > 1
-                   || number_of_inferiors () > 1)
-               /* LOC is for existing B, it cannot be in
-                  moribund_locations and thus having NULL OWNER.  */
-               && loc->owner->type != bp_catchpoint))
+      /* For backward compatibility, don't display inferiors in CLI unless
+        there are several.  Always display for MI. */
+      if (allflag
+         || (!gdbarch_has_global_breakpoints (target_gdbarch ())
+             && (program_spaces.size () > 1
+                 || number_of_inferiors () > 1)
+             /* LOC is for existing B, it cannot be in
+                moribund_locations and thus having NULL OWNER.  */
+             && loc->owner->type != bp_catchpoint))
        mi_only = 0;
       output_thread_groups (uiout, "thread-groups", inf_nums, mi_only);
     }