summaryrefslogtreecommitdiff
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
commita1226bf96dbb02eb2ef465363ee00cd34fed8120 (patch)
tree73a08e7502fb48ebc5abea390346d440dbd17d79 /gdb/mi/mi-out.c
parent51d909187856db97afa04804d794ecbafcebc9f5 (diff)
downloadgdb-a1226bf96dbb02eb2ef465363ee00cd34fed8120.tar.gz
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 040e2e40910..7e09f2d1494 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 */