Two simplifications in tui-layout.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9bb9cfd4a684dc6ad981f473d100b2986c5b7f47..ea3c0777c9970a2a798461ff0832c637abc64405 100644 (file)
@@ -1,3 +1,19 @@
+2019-08-13  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.c (show_layout): Unify all layout cases into a
+       single switch.
+       (show_source_disasm_command, show_source_or_disasm_and_command):
+       Don't check current layout.
+
+2019-08-13  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-wingeneral.c (make_all_visible): Remove.
+       (tui_make_all_invisible): Simplify.
+       * tui/tui-layout.c (tui_make_all_invisible): Move from
+       tui-wingeneral.c; simplify.
+       (show_layout): Hoist call to tui_make_all_invisible.
+       (show_data): Don't call tui_make_all_invisible.
+
 2019-08-13  Tom Tromey  <tom@tromey.com>
 
        * tui/tui-wingeneral.h (tui_make_all_visible): Don't declare.
This page took 0.026092 seconds and 4 git commands to generate.