testsuite: Update py-mi-objfile to expect console format print
authorCatalin Udma <catalin.udma@freescale.com>
Tue, 5 Apr 2016 09:55:14 +0000 (12:55 +0300)
committerCatalin Udma <catalin.udma@freescale.com>
Wed, 6 Apr 2016 06:39:16 +0000 (09:39 +0300)
commitac17fda08bf2a75ba561a919f05df95ff07959de
tree6edef76b60e4caf626f8253fc3aa8dcf843e77c5
parent03a8c4dfc295fdebf4dac7a5ee91592e69b404a6
testsuite: Update py-mi-objfile to expect console format print

Starting with this commit:

  commit e7ea3ec7c623be0b9be1eaf4929794652a84be11
  Author: Catalin Udma <catalin.udma@freescale.com>
  Date:   Mon Feb 29 16:16:19 2016 +0200

    python: Use console format for output of gdb.execute command

the python script would use console format for gdb.execute output.
This patch fixes py-mi-objfile to expect the console format when is
checking for gdb.execute printing.

gdb/testsuite/ChangeLog:
2016-04-05  Catalin Udma  <catalin.udma@freescale.com>

        * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
        * gdb.python/py-mi-objfile.exp: Match "list main" output
        in console format.

Signed-off-by: Catalin Udma <catalin.udma@freescale.com>
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-mi-objfile-gdb.py
gdb/testsuite/gdb.python/py-mi-objfile.exp