aboutsummaryrefslogtreecommitdiff
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
commitb4df4f6849c12bd0cca8534e7c17242d0209f130 (patch)
tree628f2b5be391176254ce4a91a577bda14c63f0b2 /gdb/top.c
parent5bff4f5642edc6e44c15f3e189d683d5dde1a2c8 (diff)
downloadfsf-binutils-gdb-b4df4f6849c12bd0cca8534e7c17242d0209f130.zip
fsf-binutils-gdb-b4df4f6849c12bd0cca8534e7c17242d0209f130.tar.gz
fsf-binutils-gdb-b4df4f6849c12bd0cca8534e7c17242d0209f130.tar.bz2
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 a044777..5973f7c 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