aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-out.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-07-06 03:53:11 +0000
committerAndrew Cagney <cagney@redhat.com>2001-07-06 03:53:11 +0000
commit9dc5e2a93611891cdef625066665571ee0007d07 (patch)
treebaa6097f28affd552596446f3d31c404b50c3da2 /gdb/mi/mi-out.c
parent7fb088be89cfb0c624cb9e4498808d69e1719568 (diff)
downloadgdb-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/mi-out.c')
-rw-r--r--gdb/mi/mi-out.c3
1 files changed, 2 insertions, 1 deletions
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 */