diff options
author | Tom Tromey <tom@tromey.com> | 2019-10-01 17:03:54 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-10-09 16:50:33 -0600 |
commit | 6d7fd9aa4768c3fad5b5354c87eefb8026a0ba10 (patch) | |
tree | f5bf4062127409a843119d1983703d26a792ea72 /gdb/tui/tui-disasm.h | |
parent | d2dd1084c10839efb916a0bfe57ca7a056d08b47 (diff) | |
download | gdb-6d7fd9aa4768c3fad5b5354c87eefb8026a0ba10.zip gdb-6d7fd9aa4768c3fad5b5354c87eefb8026a0ba10.tar.gz gdb-6d7fd9aa4768c3fad5b5354c87eefb8026a0ba10.tar.bz2 |
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.
Diffstat (limited to 'gdb/tui/tui-disasm.h')
0 files changed, 0 insertions, 0 deletions