diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-16 16:35:31 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-25 07:48:38 -0600 |
commit | 152f3f4b3342ae16df5ae0640896b8cea008c893 (patch) | |
tree | b057f41be67f8879cf0c2664098a2192e543925b /gdb/cli | |
parent | be4da58857ee4a26b7e58893211ea4f54922e8fd (diff) | |
download | binutils-152f3f4b3342ae16df5ae0640896b8cea008c893.zip binutils-152f3f4b3342ae16df5ae0640896b8cea008c893.tar.gz binutils-152f3f4b3342ae16df5ae0640896b8cea008c893.tar.bz2 |
Introduce tui_gen_win_info::name method
This removes tui_win_name and replaces it with a method on
tui_gen_win_info, removing another spot that switched on window type.
gdb/ChangeLog
2019-06-25 Tom Tromey <tom@tromey.com>
* tui/tui-win.c (window_name_completer, tui_set_focus)
(tui_all_windows_info): Use name method.
* tui/tui-data.h (struct tui_gen_win_info)
(struct tui_source_window, struct tui_disasm_window)
(struct tui_data_window, struct tui_cmd_window) <name>: New
method.
(tui_win_name): Don't declare.
* tui/tui-data.c (tui_partial_win_by_name): Use name method.
(tui_win_name): Remove.
Diffstat (limited to 'gdb/cli')
0 files changed, 0 insertions, 0 deletions