[RFA 6/6] Remove a use of is_mi_like_p from darwin-nat-info.c

Tom Tromey
2018-04-30T14:07:40Z

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