From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1726) id 7979D3858D20; Tue, 11 Apr 2023 11:27:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7979D3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1681212424; bh=YeHLDhkurANFZmN/aNvuZoBhIHQWIoUABGQElospuY8=; h=From:To:Subject:Date:From; b=JjIXDQCWrhlTzL2mX9rxs9434csJMQSQWb7dbm5njRlllUK5uryApikiiKPqF6++x +OJBkLR8uZSlxqOffSrqZSg3ajTkw+IuNrrIToAi6rZRHE5Y3aQqoBU5USEcbCnxzZ QYTTPkgmgRiMYK9j34TSPYvUJnjVeeliDxHDjb+Y= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Andrew Burgess To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb: fix indentation within print_one_breakpoint_location X-Act-Checkin: binutils-gdb X-Git-Author: Andrew Burgess X-Git-Refname: refs/heads/master X-Git-Oldrev: f7c3b037c0b424bc0a30e75c76fe78fb74ad01b1 X-Git-Newrev: 7594741ebc2700a36fb77acfc6515dbfca4ed0dc Message-Id: <20230411112704.7979D3858D20@sourceware.org> Date: Tue, 11 Apr 2023 11:27:04 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D7594741ebc27= 00a36fb77acfc6515dbfca4ed0dc commit 7594741ebc2700a36fb77acfc6515dbfca4ed0dc Author: Andrew Burgess Date: Thu Apr 6 12:02:00 2023 +0100 gdb: fix indentation within print_one_breakpoint_location =20 Spotted some code in print_one_breakpoint_location that was not indented correctly, this commit just changes the indentation. =20 There should be no user visible changes after this commit. Diff: --- 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); } =20 - /* 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 !=3D 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 !=3D bp_catchpoint)) mi_only =3D 0; output_thread_groups (uiout, "thread-groups", inf_nums, mi_only); }