From: Fernando Nasser <fnasser@redhat.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: GDB Patches <gdb-patches@sourceware.cygnus.com>
Subject: Re: [rfa/gdb.mi] Fail (known bug) when ``Hello''
Date: Mon, 19 Mar 2001 10:02:00 -0000 [thread overview]
Message-ID: <3AB648F7.B8959B2D@redhat.com> (raw)
In-Reply-To: <3AB628F9.7A783056@cygnus.com>
Yes, thanks.
Fernando
Andrew Cagney wrote:
>
> G'day,
>
> The attatched changes the ``Hello'' test to recognize raw (instead of
> MI's console) output reporting it as a fail. Without the patch, the
> test fails, eventually, via a timeout.
>
> The test work does work on remote targets. Fixing it on a native target
> is hard - there are too many ducks and I'm having fun getting just one
> of them to stand in a straight line :-)
>
> Andrew
>
> ------------------------------------------------------------------------
> 2001-03-19 Andrew Cagney <ac131313@redhat.com>
>
> * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
>
> Index: gdb.mi/mi-console.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-console.exp,v
> retrieving revision 1.1
> diff -p -r1.1 mi-console.exp
> *** mi-console.exp 2000/02/23 00:25:43 1.1
> --- mi-console.exp 2001/03/19 15:31:04
> *************** gdb_expect {
> *** 78,83 ****
> --- 78,94 ----
> 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)"
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
prev parent reply other threads:[~2001-03-19 10:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-19 7:43 Andrew Cagney
2001-03-19 10:02 ` Fernando Nasser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AB648F7.B8959B2D@redhat.com \
--to=fnasser@redhat.com \
--cc=ac131313@cygnus.com \
--cc=gdb-patches@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox