From: Hannes Domani Date: Tue, 5 Jan 2021 15:56:01 +0000 (+0100) Subject: Refresh regs window in display_registers_from X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5fc2d6aa0628864acc4ab2db4a224c580e15df4b;p=binutils-gdb.git 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 * tui/tui-regs.c (tui_data_window::display_registers_from): Add refresh_window call. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9e66fad0802..ce3ebfb6b30 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2021-02-07 Hannes Domani + + * tui/tui-regs.c (tui_data_window::display_registers_from): + Add refresh_window call. + 2021-02-07 Hannes Domani * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next. diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index 538945b0b61..78cb2099746 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. */