summaryrefslogtreecommitdiff
path: root/gdb/mi
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
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')
-rw-r--r--gdb/mi/ChangeLog4
-rw-r--r--gdb/mi/mi-out.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index 2611b4559d5..ab493195301 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 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 */