diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-11 18:42:20 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-16 11:28:34 -0600 |
commit | 81c82c4b9005acf7865d8a19ee651968e059a848 (patch) | |
tree | d6f82f453c5379aa365fe38ed3643f524b3cd572 /gas/CONTRIBUTORS | |
parent | 2ddaf614439b50e6019c5218f2fbfc0d14194e96 (diff) | |
download | gdb-81c82c4b9005acf7865d8a19ee651968e059a848.zip gdb-81c82c4b9005acf7865d8a19ee651968e059a848.tar.gz gdb-81c82c4b9005acf7865d8a19ee651968e059a848.tar.bz2 |
Introduce tui_source_window_base::set_contents method
This introduces the tui_source_window_base::set_contents method and
implements it in the subclasses. This removes a check of the window
type.
gdb/ChangeLog
2019-08-16 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.h (struct tui_source_window_base)
<set_contents>: Declare.
* tui/tui-winsource.c
(tui_source_window_base::update_source_window_as_is): Update.
* tui/tui-source.h (struct tui_source_window) <set_contents>:
Declare.
(tui_set_source_content): Don't declare.
* tui/tui-source.c (tui_source_window::set_contents): Rename from
tui_set_source_content.
* tui/tui-disasm.h (struct tui_disasm_window) <set_contents>:
Declare.
(tui_set_disassem_content): Don't declare.
* tui/tui-disasm.c (tui_disasm_window::set_contents): Rename from
tui_set_disassem_content.
Diffstat (limited to 'gas/CONTRIBUTORS')
0 files changed, 0 insertions, 0 deletions