aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-16 16:31:37 -0600
committerTom Tromey <tom@tromey.com>2019-06-25 07:48:38 -0600
commitbe4da58857ee4a26b7e58893211ea4f54922e8fd (patch)
tree12ffcea171c9ab418714583c36bec5119f19d959 /gdb/cli
parent5b81daba91b035ce98fb7be4970fc2be0183f6ea (diff)
downloadbinutils-be4da58857ee4a26b7e58893211ea4f54922e8fd.zip
binutils-be4da58857ee4a26b7e58893211ea4f54922e8fd.tar.gz
binutils-be4da58857ee4a26b7e58893211ea4f54922e8fd.tar.bz2
Change tui_update_source_window for better type safety
tui_update_source_window can only be called for source and disassembly windows, so change the argument type to enforce this at compile time. gdb/ChangeLog 2019-06-25 Tom Tromey <tom@tromey.com> * tui/tui-winsource.h (tui_update_source_window) (tui_update_source_window_as_is): Change parameter type. * tui/tui-winsource.c (tui_update_source_window): Change win_info to be a tui_source_window_base. (tui_update_source_window_as_is): Likewise. * tui/tui-win.c (make_visible_with_new_height): Update.
Diffstat (limited to 'gdb/cli')
0 files changed, 0 insertions, 0 deletions