]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
Re-apply the current layout when resizing
authorTom Tromey <tom@tromey.com>
Thu, 10 Oct 2019 03:18:31 +0000 (21:18 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 11 Dec 2019 22:49:03 +0000 (15:49 -0700)
commit3d97994549706f8f65fe9726b1fec1f0d643f822
tree5c38046e9f2fbefd88bdfb55c38172d1c57c545b
parent2192a9d3b31a595eb7add928221d49334f32c06d
Re-apply the current layout when resizing

The TUI has separate code for each possible layout to handle the case
where the terminal window is resized.  With the new layout code, this
can all be replaced with a call to tui_apply_current_layout, which
simply re-applies the current layout.

This results in some small differences in behavior when resizing, so
some tests are updated.

gdb/ChangeLog
2019-12-11  Tom Tromey  <tom@tromey.com>

* tui/tui-win.c (tui_resize_all): Remove code, call
tui_apply_current_layout.

gdb/testsuite/ChangeLog
2019-12-11  Tom Tromey  <tom@tromey.com>

* gdb.tui/resize.exp: Update.
* gdb.tui/empty.exp (layouts): Update.

Change-Id: I3dc6c02a753d495d9ab5e8213d550a147198ce6f
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.tui/empty.exp
gdb/testsuite/gdb.tui/resize.exp
gdb/tui/tui-win.c