Refresh regs window in display_registers_from
authorHannes Domani <ssbssa@yahoo.de>
Tue, 5 Jan 2021 15:56:01 +0000 (16:56 +0100)
committerHannes Domani <ssbssa@yahoo.de>
Sun, 7 Feb 2021 18:10:17 +0000 (19:10 +0100)
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.

gdb/ChangeLog
gdb/tui/tui-regs.c

index 9e66fad08022d237a5925cf3bf00e00c97bb383d..ce3ebfb6b3009f3ca2af437dd2928140809dfb3e 100644 (file)
@@ -1,3 +1,8 @@
+2021-02-07  Hannes Domani  <ssbssa@yahoo.de>
+
+       * tui/tui-regs.c (tui_data_window::display_registers_from):
+       Add refresh_window call.
+
 2021-02-07  Hannes Domani  <ssbssa@yahoo.de>
 
        * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next.
index 538945b0b61702d452c8ec9f5ebdcd396adf86ba..78cb209974670115426bfd9a2706a7074806d3b0 100644 (file)
@@ -306,6 +306,8 @@ tui_data_window::display_registers_from (int start_element_no)
        }
       cur_y++;         /* Next row.  */
     }
+
+  refresh_window ();
 }
 
 /* See tui-regs.h.  */