This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] testsuite: Update py-mi-objfile to expect console format print
- From: Pedro Alves <palves at redhat dot com>
- To: Catalin Udma <catalin dot udma at freescale dot com>, gdb-patches at sourceware dot org
- Date: Tue, 5 Apr 2016 11:59:42 +0100
- Subject: Re: [PATCH] testsuite: Update py-mi-objfile to expect console format print
- Authentication-results: sourceware.org; auth=none
- References: <1459851290-13123-1-git-send-email-catalin dot udma at freescale dot com>
On 04/05/2016 11:14 AM, Catalin Udma wrote:
> --- a/gdb/testsuite/gdb.python/py-mi-objfile-gdb.py
> +++ b/gdb/testsuite/gdb.python/py-mi-objfile-gdb.py
> @@ -24,4 +24,4 @@ import gdb
> gdb.execute("set width 101", to_string=True)
> # And finally a command that will use the original MI stream, which in a
> # buggy gdb will use just-freed data.
> -gdb.execute("list")
> +gdb.execute("list main")
Do the comments in the test still make sense?
>From the comment, sounds like the test might no longer be covering
what it intended? I.e. do we "use the original MI stream" ?
Thanks,
Pedro Alves