Remove a use of is_mi_like_p from darwin-nat-info.c
authorTom Tromey <tom@tromey.com>
Mon, 30 Apr 2018 02:53:38 +0000 (20:53 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 30 Apr 2018 18:59:06 +0000 (12:59 -0600)
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  <tom@tromey.com>

* darwin-nat-info.c (darwin_debug_regions_recurse): Remove use of
is_mi_like_p.

gdb/ChangeLog
gdb/darwin-nat-info.c

index f1da8fb..9c2264b 100644 (file)
@@ -1,5 +1,10 @@
 2018-04-30  Tom Tromey  <tom@tromey.com>
 
+       * darwin-nat-info.c (darwin_debug_regions_recurse): Remove use of
+       is_mi_like_p.
+
+2018-04-30  Tom Tromey  <tom@tromey.com>
+
        * 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
index 31086b1..e68637f 100644 (file)
@@ -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++;