From: Andrew Cagney Date: Mon, 19 Mar 2001 18:20:04 +0000 (+0000) Subject: Document a native system printing output outside of the MI as a known X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=177495c9073d6c70971c0a2dbf8f3933ead3015f;p=binutils-gdb.git Document a native system printing output outside of the MI as a known bug. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 06fcb63cb88..bfe41dfdef7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-03-19 Andrew Cagney + + * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug. + 2001-03-12 Michael Chastain * 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 f960cebdacd..04ee84166b9 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)" }