summaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2000-12-20 21:24:28 +0000
committerFernando Nasser <fnasser@redhat.com>2000-12-20 21:24:28 +0000
commitc850c44f4f73ec011d45aee8cbb1fdf5a0e809a0 (patch)
treea96ada9a8837297bdc23ba5817dd9d41577741a1 /gdb/top.c
parent83946d364424c9051c8e4937267ffb47b6316c21 (diff)
downloadgdb-c850c44f4f73ec011d45aee8cbb1fdf5a0e809a0.tar.gz
2000-12-20 Fernando Nasser <fnasser@redhat.com>
* Makefile.in (UIOUT_CFLAGS): New macro. CFLAGS needed for uiout code to be compiled. Defines UI_OUT. (SUBDIR_MI_CFLAGS): Defines MI_OUT, not UI_OUT. (INTERNAL_WARN_CFLAGS): Also include UIOUT_CFLAGS. * configure.in (UIOUT_CFLAGS): New configuration variable. (--with-uiout): New configuration option. Causes uiout code to be compiled, instead of the old *printf one. * configure: Regenerate. * top.c (print_gdb_version): Test for and print MI_OUT, not UI_OUT. * testsuite/lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/top.c b/gdb/top.c
index a0447777ac9..5973f7c02bc 100644
--- 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