]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 f1da8fbec8959f6cd3d8130e8c1e0640aeb7e388..9c2264b0f4b265da85b39f1edac27e3a1aafbb45 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 31086b17dd23eaa94b6a7893a0202dc10fc57753..e68637fc0dc536299f7ddbaec1e508765273d59d 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++;