Remove tui_default_win_viewport_height
authorTom Tromey <tom@tromey.com>
Tue, 1 Oct 2019 23:03:54 +0000 (17:03 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 9 Oct 2019 22:50:33 +0000 (16:50 -0600)
commit6d7fd9aa4768c3fad5b5354c87eefb8026a0ba10
treef5bf4062127409a843119d1983703d26a792ea72
parentd2dd1084c10839efb916a0bfe57ca7a056d08b47
Remove tui_default_win_viewport_height

tui_default_win_viewport_height was only called from a single spot,
for a single type of window.  This patch removes the function and
moves the logic into the sole caller.

gdb/ChangeLog
2019-10-09  Tom Tromey  <tom@tromey.com>

* tui/tui-disasm.c (tui_get_low_disassembly_address): Compute
window height directly.
* tui/tui-layout.h (tui_default_win_viewport_height): Don't
declare.
* tui/tui-layout.c (tui_default_win_height): Remove.
(tui_default_win_viewport_height): Remove.
gdb/ChangeLog
gdb/tui/tui-disasm.c
gdb/tui/tui-layout.c
gdb/tui/tui-layout.h
This page took 0.024806 seconds and 4 git commands to generate.