Minor tui_reg_next / tui_reg_prev cleanup
authorTom Tromey <tom@tromey.com>
Thu, 27 Jun 2019 01:45:53 +0000 (19:45 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:02 +0000 (12:19 -0600)
commitfe3eaf1cd9af54cd4c678a8dde7fd0df601c9490
treebca37bb0ca8b48f24c7b8cf3c650a2244a7bb39f
parent368c1354e578eb280df37059aa6b8c1f178baaf4
Minor tui_reg_next / tui_reg_prev cleanup

This changes tui_reg_next and tui_reg_prev so that they don't need to
reference the TUI_DATA_WIN globals.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-regs.c (tui_reg_next, tui_reg_prev): Add "current_group"
parameter.  Don't reference globals.
(tui_reg_command): Update.
gdb/ChangeLog
gdb/tui/tui-regs.c