This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 6/6] Remove a use of is_mi_like_p from darwin-nat-info.c
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Mon, 30 Apr 2018 08:07:32 -0600
- Subject: [RFA 6/6] Remove a use of is_mi_like_p from darwin-nat-info.c
- References: <20180430140732.21601-1-tom@tromey.com>
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 <tom@tromey.com>
* 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++;
--
2.13.6