Fix MI output for multi-location breakpoints
[deliverable/binutils-gdb.git] / gdb / mi / mi-out.c
index 4f8c9bff8e58f57ce1971c3686613ac9728bf43b..e485beef69cd7c3bd34882a47a564bd3f25b1fbe 100644 (file)
@@ -297,10 +297,10 @@ mi_ui_out::~mi_ui_out ()
 mi_ui_out *
 mi_out_new (const char *mi_version)
 {
-  if (streq (mi_version, INTERP_MI3))
+  if (streq (mi_version, INTERP_MI3) ||  streq (mi_version, INTERP_MI))
     return new mi_ui_out (3);
 
-  if (streq (mi_version, INTERP_MI2) || streq (mi_version, INTERP_MI))
+  if (streq (mi_version, INTERP_MI2))
     return new mi_ui_out (2);
 
   if (streq (mi_version, INTERP_MI1))
This page took 0.037105 seconds and 4 git commands to generate.