gdb/testsuite: some additional tests in gdb.tui/scroll.exp
authorAndrew Burgess <aburgess@redhat.com>
Tue, 1 Feb 2022 14:24:15 +0000 (14:24 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Sun, 3 Apr 2022 14:31:47 +0000 (15:31 +0100)
commitb1ac644a05245de73b84c23fa6a24eb039a727d7
tree30605b69c7f1b2515afe9ed5302ea170f5353a02
parent51b72f73e9b52c2c137b6cee20712ec1fc117beb
gdb/testsuite: some additional tests in gdb.tui/scroll.exp

This commit just adds an extra check of the src window size prior to
sending all the commands to gdb.  We also set the cmd window height to
its existing height, this (obviously) shouldn't change the window
layout, which we check.

My main motivation was adding the initial window layout check, the
winheight and recheck are just extras.  All of these test pass both
before and after this commit.
gdb/testsuite/gdb.tui/scroll.exp