[gdb/testsuite] Add Term::dump_box in lib/tuiterm.exp
authorTom de Vries <tdevries@suse.de>
Tue, 5 Oct 2021 23:27:58 +0000 (01:27 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 5 Oct 2021 23:27:58 +0000 (01:27 +0200)
commit58d82c2c59814c6d3f56a4134a777ae6ec292460
tree2f962da7033ef70098c51081d77d1816cab60d89
parent1461d3712b921466015ab877b6e08ac27456a6a6
[gdb/testsuite] Add Term::dump_box in lib/tuiterm.exp

Factor out new proc Term::get_region and use it to implement a
new proc Term::dump_box, similar to Term::dump_screen.

Tested on x86_64-linux.
gdb/testsuite/lib/tuiterm.exp