From 767619365467fd825c6f3906a49d97a7a6afafd6 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 29 Apr 2018 20:53:38 -0600 Subject: [PATCH] Remove a use of is_mi_like_p from darwin-nat-info.c 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. ChangeLog 2018-04-30 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/ChangeLog b/gdb/ChangeLog index f1da8fb..9c2264b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2018-04-30 Tom Tromey + * darwin-nat-info.c (darwin_debug_regions_recurse): Remove use of + is_mi_like_p. + +2018-04-30 Tom Tromey + * breakpoint.c (mention): Remove use of is_mi_like_p. (print_mention_ranged_breakpoint): Likewise. * break-catch-throw.c (print_it_exception_catchpoint): Remove use diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c index 31086b1..e68637f 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.7.4