Don't print ``(MI_OUT)'' during startup.

This commit is contained in:
Andrew Cagney
2001-10-21 19:41:20 +00:00
parent 1306375669
commit e80d914623
4 changed files with 11 additions and 11 deletions

View File

@@ -1,3 +1,8 @@
2001-10-21 Andrew Cagney <ac131313@redhat.com>
* top.c (print_gdb_version): Do not print ``(MI_OUT)''. MI
interface is always enabled.
2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
* config/djgpp/README: Fix a typo and tweak for GDB 5.1. * config/djgpp/README: Fix a typo and tweak for GDB 5.1.

View File

@@ -1,3 +1,8 @@
2001-10-21 Andrew Cagney <ac131313@redhat.com>
* lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
checking MI enabled.
2001-07-25 Michael Snyder <msnyder@redhat.com> 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/consecutive.exp: New file. Test stepping over * gdb.base/consecutive.exp: New file. Test stepping over

View File

@@ -117,13 +117,8 @@ proc mi_gdb_start { } {
return 1; return 1;
} }
gdb_expect { gdb_expect {
-re ".*MI_OUT.*$mi_gdb_prompt$" {
verbose "GDB initialized."
}
-re ".*$mi_gdb_prompt$" { -re ".*$mi_gdb_prompt$" {
untested "Skip mi tests (output not in headless format)." verbose "GDB initialized."
remote_close host;
return -1;
} }
-re ".*$gdb_prompt $" { -re ".*$gdb_prompt $" {
untested "Skip mi tests (got non-mi prompt)." untested "Skip mi tests (got non-mi prompt)."

View File

@@ -1228,12 +1228,7 @@ print_gdb_version (struct ui_file *stream)
program to parse, and is just canonical program name and version program to parse, and is just canonical program name and version
number, which starts after last space. */ 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); fprintf_filtered (stream, "GNU gdb %s\n", version);
#endif
/* Second line is a copyright notice. */ /* Second line is a copyright notice. */