[gdb/tui] Simplify tui_update_variables
commitba769bb0e6fdf5b4c55577b068b93adf2f6d1333
authorTom de Vries <tdevries@suse.de>
Mon, 19 Jun 2023 09:15:56 +0000 (19 11:15 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 19 Jun 2023 09:15:56 +0000 (19 11:15 +0200)
tree2aa58d9f30eefeb2dc90a240bed71e3a9b99058e
parent2e12e798825b9119a250f512416e04b62ed7a2a9
[gdb/tui] Simplify tui_update_variables

Simplify tui_update_variables by using template function
assign_return_if_changed.

Tested on x86_64-linux.
gdb/tui/tui-win.c