From 9dc5e2a93611891cdef625066665571ee0007d07 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 6 Jul 2001 03:53:11 +0000 Subject: Replace: if (interpreter_p && strncmp (interpreter_p, "mi", 2) == 0) with: if (ui_out_is_mi_like_p (uiout)) --- gdb/mi/mi-out.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/mi/mi-out.c') 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 */ -- cgit v1.1