aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-04-06 12:02:00 +0100
committerAndrew Burgess <aburgess@redhat.com>2023-04-11 12:21:42 +0100
commit7594741ebc2700a36fb77acfc6515dbfca4ed0dc (patch)
treea35c88eace7db16c78874dac077f2ae40a1b7800 /gdb/breakpoint.c
parentf7c3b037c0b424bc0a30e75c76fe78fb74ad01b1 (diff)
downloadfsf-binutils-gdb-7594741ebc2700a36fb77acfc6515dbfca4ed0dc.zip
fsf-binutils-gdb-7594741ebc2700a36fb77acfc6515dbfca4ed0dc.tar.gz
fsf-binutils-gdb-7594741ebc2700a36fb77acfc6515dbfca4ed0dc.tar.bz2
gdb: fix indentation within print_one_breakpoint_location
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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 47f35c6..46287da 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -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);
}