diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-07-06 03:53:11 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-07-06 03:53:11 +0000 |
commit | 9dc5e2a93611891cdef625066665571ee0007d07 (patch) | |
tree | baa6097f28affd552596446f3d31c404b50c3da2 /gdb/mi | |
parent | 7fb088be89cfb0c624cb9e4498808d69e1719568 (diff) | |
download | gdb-9dc5e2a93611891cdef625066665571ee0007d07.zip gdb-9dc5e2a93611891cdef625066665571ee0007d07.tar.gz gdb-9dc5e2a93611891cdef625066665571ee0007d07.tar.bz2 |
Replace:
if (interpreter_p && strncmp (interpreter_p, "mi", 2) == 0)
with:
if (ui_out_is_mi_like_p (uiout))
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mi/mi-out.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index 2611b45..ab49319 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,7 @@ +2001-07-04 Andrew Cagney <ac131313@redhat.com> + + * mi-out.c (mi_ui_out_impl): Initialize is_mi_like_p to one. + 2001-06-27 Andrew Cagney <ac131313@redhat.com> * mi-out.c (mi_table_begin): Include nr_cols and nr_rows in mi1 diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c index 040e2e4..7e09f2d 100644 --- a/gdb/mi/mi-out.c +++ b/gdb/mi/mi-out.c @@ -88,7 +88,8 @@ struct ui_out_impl mi_ui_out_impl = mi_text, mi_message, mi_wrap_hint, - mi_flush + mi_flush, + 1, /* Needs MI hacks. */ }; /* Prototypes for local functions */ |