diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-01 14:41:28 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:19:19 -0600 |
commit | 4a38112da00f45527de4aec0b645443c6ee0e01e (patch) | |
tree | cbee1663c64ef041e3bab86b35b386b054e9aae1 /gdb/ChangeLog | |
parent | 0912922656b9fec5f04623ea49292b7ae564c7ef (diff) | |
download | gdb-4a38112da00f45527de4aec0b645443c6ee0e01e.zip gdb-4a38112da00f45527de4aec0b645443c6ee0e01e.tar.gz gdb-4a38112da00f45527de4aec0b645443c6ee0e01e.tar.bz2 |
Remove tui_make_visible and tui_make_invisible
tui_make_visible and tui_make_invisible are just wrappers for a method
call, so remove them and have the callers simply make the method call
themselves.
gdb/ChangeLog
2019-07-17 Tom Tromey <tom@tromey.com>
* tui/tui-wingeneral.h (tui_make_visible, tui_make_invisible):
Don't declare.
* tui/tui-wingeneral.c (tui_make_visible, tui_make_invisible):
Remove.
* tui/tui-win.c (tui_source_window_base::set_new_height)
(tui_source_window_base::set_new_height)
(make_invisible_and_set_new_height)
(tui_source_window_base::do_make_visible_with_new_height)
(tui_source_window_base::do_make_visible_with_new_height):
Update.
* tui/tui-layout.c (show_source_disasm_command, show_data)
(show_source_or_disasm_and_command): Update.
* tui/tui-layout.c (show_layout): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4a43ba4..f6d464f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,21 @@ 2019-07-17 Tom Tromey <tom@tromey.com> + * tui/tui-wingeneral.h (tui_make_visible, tui_make_invisible): + Don't declare. + * tui/tui-wingeneral.c (tui_make_visible, tui_make_invisible): + Remove. + * tui/tui-win.c (tui_source_window_base::set_new_height) + (tui_source_window_base::set_new_height) + (make_invisible_and_set_new_height) + (tui_source_window_base::do_make_visible_with_new_height) + (tui_source_window_base::do_make_visible_with_new_height): + Update. + * tui/tui-layout.c (show_source_disasm_command, show_data) + (show_source_or_disasm_and_command): Update. + * tui/tui-layout.c (show_layout): Update. + +2019-07-17 Tom Tromey <tom@tromey.com> + * tui/tui-layout.c (make_data_window): Remove. (show_data): Unify creation and re-initialization cases. |