]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Remove the win_type parameter from tui_gen_win_info::reset
authorTom Tromey <tom@tromey.com>
Sat, 29 Jun 2019 13:32:47 +0000 (07:32 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:13 +0000 (12:19 -0600)
commit1e0c09ba0bdd8b4dd1ab3a61b2ae2d326825bee1
tree9a34c9f42f11b3eeaec53853a88ce82e2c87e85a
parent1bf605de8e9ae4fcf77c21067ddaf4a242a873f7
Remove the win_type parameter from tui_gen_win_info::reset

tui_gen_win_info::reset has a window type parameter that is only used
for an assertion.  This made sense as a defensive measure when window
creation was more dynamic -- it ensured that one did not make
mistakes.  However, there's no need for it any more, so this removes
it.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-source.c (tui_source_window_base::reset): Remove
win_type parameter.
* tui/tui-layout.c (make_command_window, make_source_window)
(make_disasm_window, make_data_window)
(show_source_disasm_command, show_data, tui_gen_win_info::reset)
(reset_locator, show_source_or_disasm_and_command): Update.
* tui/tui-data.h (struct tui_gen_win_info) <reset>: Remove
win_type parameter.
(struct tui_source_window_base) <reset>: Likewise.
gdb/ChangeLog
gdb/tui/tui-data.h
gdb/tui/tui-layout.c
gdb/tui/tui-source.c