Fix debugging programs statically linked against the thread library.
[deliverable/binutils-gdb.git] / gdb / top.c
index a0447777ac9f8956d952edbe0a6cb3fcd426b7fd..5973f7c02bc8d02925e8c9f65962f8f0ae8292d2 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1385,9 +1385,9 @@ print_gdb_version (struct ui_file *stream)
      program to parse, and is just canonical program name and version
      number, which starts after last space. */
 
-#ifdef UI_OUT
+#ifdef MI_OUT
   /* Print it console style until a format is defined */
-  fprintf_filtered (stream, "GNU gdb %s (UI_OUT)\n", version);
+  fprintf_filtered (stream, "GNU gdb %s (MI_OUT)\n", version);
 #else
   fprintf_filtered (stream, "GNU gdb %s\n", version);
 #endif
This page took 0.023274 seconds and 4 git commands to generate.