aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-19 18:20:04 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-19 18:20:04 +0000
commit177495c9073d6c70971c0a2dbf8f3933ead3015f (patch)
tree0fc0dbfdbd9ac443d662481c5174350653570fe6 /gdb
parentbbe6d95f460afad7a02a4828fee94a8bf0a2ba63 (diff)
downloadgdb-177495c9073d6c70971c0a2dbf8f3933ead3015f.zip
gdb-177495c9073d6c70971c0a2dbf8f3933ead3015f.tar.gz
gdb-177495c9073d6c70971c0a2dbf8f3933ead3015f.tar.bz2
Document a native system printing output outside of the MI as a known
bug.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.mi/mi-console.exp13
2 files changed, 16 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 06fcb63..bfe41df 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-19 Andrew Cagney <ac131313@redhat.com>
+
+ * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
+
2001-03-12 Michael Chastain <chastain@redhat.com>
* gdb.c++/derivation.exp: Use the 'runto' library function.
diff --git a/gdb/testsuite/gdb.mi/mi-console.exp b/gdb/testsuite/gdb.mi/mi-console.exp
index f960ceb..04ee841 100644
--- a/gdb/testsuite/gdb.mi/mi-console.exp
+++ b/gdb/testsuite/gdb.mi/mi-console.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 1999, 2000 Cygnus Solutions.
+# Copyright 1999, 2000, 2001 Cygnus Solutions.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -79,6 +79,17 @@ gdb_expect {
-re "@\"H\"\r\n.*@\"e\"\r\n.*@\"l\"\r\n.*@\"l\"\r\n.*@\"o\"\r\n.*@\" \"\r\n.*@\"\\\\\\\\\"\r\n.*@\"\\\\\"\"\r\n.*@\"!\"\r\n.*@\"\\\\r\"\r\n.*@\"\\\\n\"\r\n" {
pass "Hello message"
}
+ -re "Hello" {
+
+ # Probably a native system where GDB doesn't have direct
+ # control over the inferior console.
+ # For this to work, GDB would need to run the inferior process
+ # under a PTY and then use the even-loops ability to wait on
+ # multiple event sources to channel the output back through the
+ # MI.
+
+ fail "Hello message (known bug)"
+ }
timeout {
fail "Hello message (timeout)"
}