[PATCH] testsuite: Update py-mi-objfile to expect console format print

Pedro Alves palves@redhat.com
Tue Apr 5 10:59:00 GMT 2016


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



More information about the Gdb-patches mailing list