From 715bb467feab6e94e01bdf4f5aced092df7398c0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 18 Jul 2019 13:46:23 -0600 Subject: Don't call tui_refresh_all from show_layout show_layout calls tui_refresh_all in one case. However, it doesn't need to any more, because the resize method on each window will also update the contents. gdb/ChangeLog 2019-08-30 Tom Tromey * tui/tui-layout.c (show_layout): Don't call tui_refresh_all. --- gdb/tui/tui-layout.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/tui') diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c index 7ec704e52f0..df7056ae97b 100644 --- a/gdb/tui/tui-layout.c +++ b/gdb/tui/tui-layout.c @@ -82,7 +82,6 @@ show_layout (enum tui_layout_type layout) case SRC_DATA_COMMAND: case DISASSEM_DATA_COMMAND: show_data (layout); - tui_refresh_all (); break; /* Now show the new layout. */ case SRC_COMMAND: -- cgit v1.2.3-65-gdbad