diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index cecd384d5d..6ca5aefc37 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-01-09 Andrew Burgess + + * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when + called. + 2020-01-09 Andrew Burgess * gdb.base/skip.exp: Fix race condition in test. diff --git a/gdb/testsuite/lib/tuiterm.exp b/gdb/testsuite/lib/tuiterm.exp index 6f3d41f1cc..36e034a363 100644 --- a/gdb/testsuite/lib/tuiterm.exp +++ b/gdb/testsuite/lib/tuiterm.exp @@ -595,10 +595,10 @@ namespace eval Term { proc dump_screen {} { variable _rows variable _cols - verbose "Screen Dump ($_cols x $_rows):" + verbose -log "Screen Dump ($_cols x $_rows):" for {set y 0} {$y < $_rows} {incr y} { set fmt [format %5d $y] - verbose "$fmt [get_line $y]" + verbose -log "$fmt [get_line $y]" } }