]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Rename the "reset" method to "resize"
authorTom Tromey <tom@tromey.com>
Sat, 6 Jul 2019 23:32:45 +0000 (17:32 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 15 Aug 2019 18:29:28 +0000 (12:29 -0600)
commitee556432c44dd5dbcf22c4086774bd29ded5b208
tree1a630bfcb4538dcff45b6e56ed647f0e723ab34d
parent46f438e3d57bae1d74ab9a7e6cba380b0e58f552
Rename the "reset" method to "resize"

tui_gen_win_info::reset really just resizes the window.  This patch
renames it to reflect this.

gdb/ChangeLog
2019-08-15  Tom Tromey  <tom@tromey.com>

* tui/tui-winsource.h (struct tui_source_window_base) <resize>:
Rename from reset.
* tui/tui-winsource.c (tui_source_window_base::resize): Rename.
* tui/tui-layout.c (show_source_disasm_command, show_data):
Update.
(tui_gen_win_info::resize): Rename.
(show_source_or_disasm_and_command): Update.
* tui/tui-data.h (struct tui_gen_win_info) <resize>: Rename from
reset.
gdb/ChangeLog
gdb/tui/tui-data.h
gdb/tui/tui-layout.c
gdb/tui/tui-winsource.c
gdb/tui/tui-winsource.h