diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-10-21 19:43:41 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-10-21 19:43:41 +0000 |
commit | d20bf2e81b5b795f6be38afe8ed5cd7218a41201 (patch) | |
tree | d5850c049e0cdd5d32d602b00b61d438fd1da1ab | |
parent | 17732724f33c6969c86a29c832e094b96a4483bf (diff) | |
download | gdb-d20bf2e81b5b795f6be38afe8ed5cd7218a41201.zip gdb-d20bf2e81b5b795f6be38afe8ed5cd7218a41201.tar.gz gdb-d20bf2e81b5b795f6be38afe8ed5cd7218a41201.tar.bz2 |
Don't print ``(MI_OUT)'' at startup.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/mi-support.exp | 7 | ||||
-rw-r--r-- | gdb/top.c | 5 |
4 files changed, 11 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a032518..723b657 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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 Andrew Cagney <ac131313@redhat.com> + * Makefile.in: Replace top.h with $(top_h). Replace expression.h with $(expression_h). Replace command.h with $(command_h). (language_h): Define. Replace language.h with $(language_h). diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 69b13d2..1be8c73 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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-10-09 Corinna Vinschen <vinschen@redhat.com> * gdb.base/maint.exp: Treat $EXEEXT as optional in output. diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 76fad16..8727ae5 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -123,13 +123,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)." @@ -1272,12 +1272,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. */ |