aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-06-16 17:55:57 -0600
committerTom Tromey <tom@tromey.com>2020-06-16 18:02:20 -0600
commitde54374205650be71237ce51ef7981d30ddd78dc (patch)
tree5183c6afd027d38fd840495d678666e01ee4a9fe /gdb/ChangeLog
parenta350efd4fb368a35ada608f6bc26ccd3bed0ae6b (diff)
downloadgdb-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/ChangeLog')
-rw-r--r--gdb/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dc26926..f9d989d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,13 @@
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.
+
+2020-06-16 Tom Tromey <tom@tromey.com>
+
PR tui/25348:
* tui/tui.c (tui_ensure_readline_initialized): Rename from
tui_initialize_readline. Only run once. Call rl_initialize.