]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Don't print ``(MI_OUT)'' during startup.
authorAndrew Cagney <cagney@redhat.com>
Sun, 21 Oct 2001 19:41:20 +0000 (19:41 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 21 Oct 2001 19:41:20 +0000 (19:41 +0000)
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/lib/mi-support.exp
gdb/top.c

index 480e31cbe344ee7b21fc42d7d856211d69eaa58d..88537add28c4e563be982fd53b96ec4ec674828b 100644 (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>
 
        * config/djgpp/README: Fix a typo and tweak for GDB 5.1.
index 5c6528a26179a41182e8ed6d02af79e757a0e5b5..ceb04b71dc286e51696ac708c8f5034874097065 100644 (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>
 
        * gdb.base/consecutive.exp: New file.  Test stepping over
index 2f48ebef1b16ffbcdce6957752838d23e0ef620c..80ab73b72476278aa6f6ba6f81c26191e9bc8109 100644 (file)
@@ -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)."
index c94536119e008853dc201c97033dd03ff3b2cd95..0c22c8af8bed9cf81c60d71dd4a273d06f1ffd27 100644 (file)
--- 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. */