From e80d9146232d23b6ecdae3ff3c12e8207a9aed12 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 21 Oct 2001 19:41:20 +0000 Subject: [PATCH] Don't print ``(MI_OUT)'' during startup. --- gdb/ChangeLog | 5 +++++ gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/mi-support.exp | 7 +------ gdb/top.c | 5 ----- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 480e31cbe34..88537add28c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-10-21 Andrew Cagney + + * top.c (print_gdb_version): Do not print ``(MI_OUT)''. MI + interface is always enabled. + 2001-10-21 Eli Zaretskii * config/djgpp/README: Fix a typo and tweak for GDB 5.1. diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5c6528a2617..ceb04b71dc2 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-10-21 Andrew Cagney + + * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when + checking MI enabled. + 2001-07-25 Michael Snyder * gdb.base/consecutive.exp: New file. Test stepping over diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 2f48ebef1b1..80ab73b7247 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -117,13 +117,8 @@ proc mi_gdb_start { } { return 1; } gdb_expect { - -re ".*MI_OUT.*$mi_gdb_prompt$" { - verbose "GDB initialized." - } -re ".*$mi_gdb_prompt$" { - untested "Skip mi tests (output not in headless format)." - remote_close host; - return -1; + verbose "GDB initialized." } -re ".*$gdb_prompt $" { untested "Skip mi tests (got non-mi prompt)." diff --git a/gdb/top.c b/gdb/top.c index c94536119e0..0c22c8af8be 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1228,12 +1228,7 @@ 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 MI_OUT - /* Print it console style until a format is defined */ - fprintf_filtered (stream, "GNU gdb %s (MI_OUT)\n", version); -#else fprintf_filtered (stream, "GNU gdb %s\n", version); -#endif /* Second line is a copyright notice. */ -- 2.47.3