From patchwork Tue Apr 11 11:27:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Burgess X-Patchwork-Id: 67632 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F385A3858C2D for ; Tue, 11 Apr 2023 11:27:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F385A3858C2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1681212472; bh=iro+sXtryGOIZTbM181Kd/tz1kUSBYsgOYLp/vpRX7w=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=uwEN/MQ2qNkJXlVtXXFfySZnWlNkZ+IHjBipjJDeOICO1EiCucRThWv7V7364qf7E Rvojpv13/Mn8ZhS8heBWWcS1w59VAfillM/HPi+Qp87T+REeOSwPEHCWFQPXH5Ylyf RjkdWPH5rccm8QTkPWWakQ2xx0xU2snrsNaHuovQ= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id F35CB3858D20 for ; Tue, 11 Apr 2023 11:27:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F35CB3858D20 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-593-pnUk161LPquNIOdw3-IOaQ-1; Tue, 11 Apr 2023 07:27:27 -0400 X-MC-Unique: pnUk161LPquNIOdw3-IOaQ-1 Received: by mail-ed1-f70.google.com with SMTP id v22-20020a50d096000000b005021d1b1e9eso4652487edd.13 for ; Tue, 11 Apr 2023 04:27:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681212446; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iro+sXtryGOIZTbM181Kd/tz1kUSBYsgOYLp/vpRX7w=; b=L40kDQE2Sp4gDZIp8lzJroGJm5vCJgVPOdQ5C0vL23tLCPeUsgCs028OyS2wshOInh Cqyn01JxtlGO4CVaPsGZq6Wv1n7DyVxDaZ91B5/Obc8v0iXztjIlOklBTvtnXeM0RHLx QQyn0fEtjZbxGigQkcBClXqFwVUCRpn2TRcILTqiz/au0o7GXAUk9+l721i4XqCktbO3 Xi6hHlfrqQy3tWF2MvYuuys5VHgVE75KJrdAVRHBoh82+bNNE0FsZzlGkEUc4KHCIHqm NcASVLEpjKYYqEv0HgNCNYYpFAQDMQvPkROAzPFQFQXOU9TE8arhPmuPtLskGXbTi5U0 rpgg== X-Gm-Message-State: AAQBX9dS2c5w1Rnkj0uCCLgeCPh+xTVS8uIGnG57BdkQFsAEwTOYfxBW uI8On4kx/htDLV0WSwSOODF4Vj/7Mp9w52p3OQopOANzmX4d/0g9pDbj+GiXKfNl6/MmBk7vpJf hQVQ11AyoFwVqdTtaCvHQqDniXygtjzVWi4E11nI+Dc8QDmIzYggpYNB2wqE4aolBVF8Z09DwuG 6hwFuXVw== X-Received: by 2002:a17:907:170a:b0:94a:e482:e261 with SMTP id le10-20020a170907170a00b0094ae482e261mr4370204ejc.35.1681212446166; Tue, 11 Apr 2023 04:27:26 -0700 (PDT) X-Google-Smtp-Source: AKy350ZJGd87pEF5Dah9JEnniMjOLhaIUU/Cgsa+cjTPuEXZry0LQjOCt36DscSw06GRmKfacpbaUg== X-Received: by 2002:a17:907:170a:b0:94a:e482:e261 with SMTP id le10-20020a170907170a00b0094ae482e261mr4370187ejc.35.1681212445828; Tue, 11 Apr 2023 04:27:25 -0700 (PDT) Received: from localhost (95.72.115.87.dyn.plus.net. [87.115.72.95]) by smtp.gmail.com with ESMTPSA id g19-20020a1709065d1300b00928e0ea53e5sm6009130ejt.84.2023.04.11.04.27.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 04:27:25 -0700 (PDT) To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PUSHED] gdb: fix indentation within print_one_breakpoint_location Date: Tue, 11 Apr 2023 12:27:23 +0100 Message-Id: <7594741ebc2700a36fb77acfc6515dbfca4ed0dc.1681212434.git.aburgess@redhat.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Andrew Burgess via Gdb-patches From: Andrew Burgess Reply-To: Andrew Burgess Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" 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(-) base-commit: f7c3b037c0b424bc0a30e75c76fe78fb74ad01b1 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); }