diff options
author | Tom Tromey <tom@tromey.com> | 2023-12-16 19:41:54 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-02-08 12:15:39 -0700 |
commit | b1adacb66386222a8da7e64126b80ae334b16089 (patch) | |
tree | 2f9ebff7d8bc90ae8f32a68f54ad99544aaa1b98 /bfd | |
parent | 1a2596729376be777bb1d00889057845e26f9dc3 (diff) | |
download | gdb-b1adacb66386222a8da7e64126b80ae334b16089.zip gdb-b1adacb66386222a8da7e64126b80ae334b16089.tar.gz gdb-b1adacb66386222a8da7e64126b80ae334b16089.tar.bz2 |
Simplify tui_data_window::show_register_group
This simplifies tui_data_window::show_register_group, renaming it as
well. The old method had two loops to iterate over all the registers
for the arch, but in the new scheme, the vector is set up when
switching groups, and then updates simply iterate over the vector.
tui_data_item_window is made self-updating, which also clarifies the
code somewhat.
Tested-By: Tom de Vries <tdevries@suse.de>
Reviewed-By: Andrew Burgess <aburgess@redhat.com>
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions