diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-03-19 18:20:04 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-03-19 18:20:04 +0000 |
commit | 177495c9073d6c70971c0a2dbf8f3933ead3015f (patch) | |
tree | 0fc0dbfdbd9ac443d662481c5174350653570fe6 /gdb/testsuite/gdb.mi | |
parent | bbe6d95f460afad7a02a4828fee94a8bf0a2ba63 (diff) | |
download | gdb-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/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-console.exp | 13 |
1 files changed, 12 insertions, 1 deletions
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)" } |