From patchwork Mon Apr 30 14:07:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 27039 Received: (qmail 22910 invoked by alias); 30 Apr 2018 14:07:40 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 22632 invoked by uid 89); 30 Apr 2018 14:07:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gateway32.websitewelcome.com Received: from gateway32.websitewelcome.com (HELO gateway32.websitewelcome.com) (192.185.144.98) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Apr 2018 14:07:37 +0000 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway32.websitewelcome.com (Postfix) with ESMTP id 614CC32A026 for ; Mon, 30 Apr 2018 09:07:36 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id D9SqfoVYrWCOCD9SqfiASr; Mon, 30 Apr 2018 09:07:36 -0500 X-Authority-Reason: nr=8 Received: from 97-122-176-117.hlrn.qwest.net ([97.122.176.117]:38138 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fD9Sq-003cQs-4d; Mon, 30 Apr 2018 09:07:36 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [RFA 6/6] Remove a use of is_mi_like_p from darwin-nat-info.c Date: Mon, 30 Apr 2018 08:07:32 -0600 Message-Id: <20180430140732.21601-7-tom@tromey.com> In-Reply-To: <20180430140732.21601-1-tom@tromey.com> References: <20180430140732.21601-1-tom@tromey.com> X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fD9Sq-003cQs-4d X-Source-Sender: 97-122-176-117.hlrn.qwest.net (bapiya.Home) [97.122.176.117]:38138 X-Source-Auth: tom+tromey.com X-Email-Count: 7 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes This removes a use of is_mi_like_p from darwin-nat-info.c. This is not needed because MI already ignores ui_out::text. 2018-04-29 Tom Tromey * darwin-nat-info.c (darwin_debug_regions_recurse): Remove use of is_mi_like_p. --- gdb/ChangeLog | 5 +++++ gdb/darwin-nat-info.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c index 31086b17dd..e68637fc0d 100644 --- a/gdb/darwin-nat-info.c +++ b/gdb/darwin-nat-info.c @@ -676,8 +676,7 @@ darwin_debug_regions_recurse (task_t task) uiout->field_int ("tag", r_info.user_tag); } - if (!uiout->is_mi_like_p ()) - uiout->text ("\n"); + uiout->text ("\n"); if (r_info.is_submap) r_depth++;