diff options
author | Tom Tromey <tom@tromey.com> | 2018-04-29 20:53:38 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-04-30 12:59:06 -0600 |
commit | 767619365467fd825c6f3906a49d97a7a6afafd6 (patch) | |
tree | a3f88913da5c1b97b53e37dd6f96e17e81925a96 /gdb | |
parent | 2d33446d4d58edcf993f42957cfe9627c88f112f (diff) | |
download | gdb-767619365467fd825c6f3906a49d97a7a6afafd6.zip gdb-767619365467fd825c6f3906a49d97a7a6afafd6.tar.gz gdb-767619365467fd825c6f3906a49d97a7a6afafd6.tar.bz2 |
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 <tom@tromey.com>
* darwin-nat-info.c (darwin_debug_regions_recurse): Remove use of
is_mi_like_p.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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 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++; |