aboutsummaryrefslogtreecommitdiff
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
parent83962f8340726373e0d174dcf688818eb7faea6b (diff)
downloadgdb-5fc2d6aa0628864acc4ab2db4a224c580e15df4b.zip
gdb-5fc2d6aa0628864acc4ab2db4a224c580e15df4b.tar.gz
gdb-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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/tui/tui-regs.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9e66fad..ce3ebfb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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.
2021-02-05 Simon Marchi <simon.marchi@polymtl.ca>
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. */