* [PUSHED] gdb: fix indentation within print_one_breakpoint_location
@ 2023-04-11 11:27 Andrew Burgess
0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2023-04-11 11:27 UTC (permalink / raw)
To: gdb-patches; +Cc: Andrew Burgess
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 | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 47f35c6b0e5..46287da5f87 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);
}
base-commit: f7c3b037c0b424bc0a30e75c76fe78fb74ad01b1
--
2.25.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-11 11:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-11 11:27 [PUSHED] gdb: fix indentation within print_one_breakpoint_location Andrew Burgess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).