gdb/testsuite/tui: Always dump_screen when asked
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 7 Jan 2020 00:26:22 +0000 (00:26 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 9 Jan 2020 23:11:43 +0000 (23:11 +0000)
commit63ffd7c9131c0e9723016d33cf8d435cc508d02b
treef0e03626d4e43fd82c956a00f33bdf1146ee0a9c
parent3be966f69d6967d2857baa3efb0bc043081e0a00
gdb/testsuite/tui: Always dump_screen when asked

The Term::dump_screen routine currently dumps the screen using calls
to 'verbose', this means it will only dump the screen when the
testsuite is running in verbose mode.

However, the Term::dump_screen is most often called when a test fails,
in this case I think it is useful to have the screen dumped even when
we're not in verbose mode.

This commit changes the calls to 'verbose' to be 'verbose -log' so we
always get the screen dump.

gdb/testsuite/ChangeLog:

* lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
called.

Change-Id: I5f0a7f5ac2ece04d6fe6e9c5a28ea2a0dda38955
gdb/testsuite/ChangeLog
gdb/testsuite/lib/tuiterm.exp