Don't call erase_data_content from tui_data_window::show_registers
authorTom Tromey <tom@tromey.com>
Tue, 1 Oct 2019 23:42:17 +0000 (17:42 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 9 Oct 2019 22:50:36 +0000 (16:50 -0600)
commita31bff9d2d78d0d45e3e75dd2513ccbf480a7bc4
tree61214941bbed26f38a268e0f5ecb943fa185e571
parent7523da63ca33a37b54c2cde18b7752d0f0f11c26
Don't call erase_data_content from tui_data_window::show_registers

tui_data_window::show_registers currently calls erase_data_content.
However, I think it's better to have fewer calls to this (ideally just
one would suffice).  This refactors that function to remove this call.

gdb/ChangeLog
2019-10-09  Tom Tromey  <tom@tromey.com>

* tui/tui-regs.c (tui_data_window::show_registers): Don't call
erase_data_content.
gdb/ChangeLog
gdb/tui/tui-regs.c