diff options
author | Tom Tromey <tom@tromey.com> | 2020-06-16 17:55:57 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-06-16 18:02:20 -0600 |
commit | de54374205650be71237ce51ef7981d30ddd78dc (patch) | |
tree | 5183c6afd027d38fd840495d678666e01ee4a9fe /gdb/d-lang.c | |
parent | a350efd4fb368a35ada608f6bc26ccd3bed0ae6b (diff) | |
download | gdb-de54374205650be71237ce51ef7981d30ddd78dc.zip gdb-de54374205650be71237ce51ef7981d30ddd78dc.tar.gz gdb-de54374205650be71237ce51ef7981d30ddd78dc.tar.bz2 |
Use macros for TUI window names
Christian pointed out that tui-layout.c hard-codes various window
names. This patch changes the code to use the macros from tui-data.h
instead. For each window, I searched for uses of the name; but I only
found any in tui-layout.c. This also adds a new macro to account for
the "status" window.
gdb/ChangeLog
2020-06-16 Tom Tromey <tom@tromey.com>
* tui/tui-data.h (STATUS_NAME): New macro.
* tui/tui-layout.c (tui_remove_some_windows)
(initialize_known_windows, tui_register_window)
(tui_layout_split::remove_windows, initialize_layouts)
(tui_new_layout_command): Don't use hard-coded window names.
Diffstat (limited to 'gdb/d-lang.c')
0 files changed, 0 insertions, 0 deletions