aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-23 17:14:37 -0600
committerTom Tromey <tom@tromey.com>2019-09-20 13:49:06 -0600
commitb3b1bde658c97fbccc1e49b79cc45e434591533e (patch)
tree90ed20063de66962b1f1fff770caa5735e59d5fb /gdb/tui
parent71a25ed2e77fd72e01d38aa84f5a0fbe5f081474 (diff)
downloadgdb-b3b1bde658c97fbccc1e49b79cc45e434591533e.zip
gdb-b3b1bde658c97fbccc1e49b79cc45e434591533e.tar.gz
gdb-b3b1bde658c97fbccc1e49b79cc45e434591533e.tar.bz2
Remove some explicit re-rendering from the TUI
A couple of spots in tui-layout.c still call the show_source_content method. However, now that re-rendering is done by the resize method, these calls are no longer needed. gdb/ChangeLog 2019-09-20 Tom Tromey <tom@tromey.com> * tui/tui-layout.c (show_source_disasm_command) (show_source_or_disasm_and_command): Don't call show_source_content.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-layout.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c
index d331a2f..33d3dd6 100644
--- a/gdb/tui/tui-layout.c
+++ b/gdb/tui/tui-layout.c
@@ -505,7 +505,6 @@ show_source_disasm_command (void)
struct tui_locator_window *locator = tui_locator_win_info_ptr ();
gdb_assert (locator != nullptr);
- TUI_SRC_WIN->show_source_content ();
if (TUI_DISASM_WIN == NULL)
tui_win_list[DISASSEM_WIN] = new tui_disasm_window ();
TUI_DISASM_WIN->resize (asm_height,
@@ -516,7 +515,6 @@ show_source_disasm_command (void)
tui_term_width (),
0,
(src_height + asm_height) - 1);
- TUI_DISASM_WIN->show_source_content ();
if (TUI_CMD_WIN == NULL)
tui_win_list[CMD_WIN] = new tui_cmd_window ();
@@ -646,8 +644,6 @@ show_source_or_disasm_and_command (enum tui_layout_type layout_type)
0,
0);
- win_info->show_source_content ();
-
if (TUI_CMD_WIN == NULL)
tui_win_list[CMD_WIN] = new tui_cmd_window ();
TUI_CMD_WIN->resize (cmd_height,