aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2021-01-05 16:56:01 +0100
committerHannes Domani <ssbssa@yahoo.de>2021-02-07 19:10:17 +0100
commit5fc2d6aa0628864acc4ab2db4a224c580e15df4b (patch)
treefe7c36c8c68d1181499f1565bbedc33a5f388c92 /gdb/tui
parent83962f8340726373e0d174dcf688818eb7faea6b (diff)
downloadbinutils-5fc2d6aa0628864acc4ab2db4a224c580e15df4b.zip
binutils-5fc2d6aa0628864acc4ab2db4a224c580e15df4b.tar.gz
binutils-5fc2d6aa0628864acc4ab2db4a224c580e15df4b.tar.bz2
Refresh regs window in display_registers_from
Otherwise the register window is redrawn empty when scrolling or changing its size with winheight. gdb/ChangeLog: 2021-02-07 Hannes Domani <ssbssa@yahoo.de> * tui/tui-regs.c (tui_data_window::display_registers_from): Add refresh_window call.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-regs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index 538945b..78cb209 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -306,6 +306,8 @@ tui_data_window::display_registers_from (int start_element_no)
}
cur_y++; /* Next row. */
}
+
+ refresh_window ();
}
/* See tui-regs.h. */