aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-decode.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-12-16 19:41:54 -0700
committerTom Tromey <tom@tromey.com>2024-02-08 12:15:39 -0700
commitb1adacb66386222a8da7e64126b80ae334b16089 (patch)
tree2f9ebff7d8bc90ae8f32a68f54ad99544aaa1b98 /gdb/cli/cli-decode.h
parent1a2596729376be777bb1d00889057845e26f9dc3 (diff)
downloadgdb-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 'gdb/cli/cli-decode.h')
0 files changed, 0 insertions, 0 deletions