gdb: Add 'tui reg prev' command.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 21 May 2015 19:51:53 +0000 (21:51 +0200)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 26 May 2015 21:18:50 +0000 (22:18 +0100)
commit55b400279267cad460ca62a8211f0b414f564e93
tree9a86945461e96428aae5ac7b9a6266d632c8e614
parent7e16ef34742d853239608fadde4a19f3a105b0a2
gdb: Add 'tui reg prev' command.

There is already a 'tui reg next' command, this adds a symmetric 'tui
reg prev' command.

gdb/ChangeLog:

* tui/tui-regs.c (tui_reg_prev_command): New function.
(_initialize_tui_regs): Add 'prev' command for 'tui reg'.
* reggroups.c (reggroup_prev): New function.
* reggroups.h (reggroup_prev): Add declaration.  Update comment.

gdb/doc/ChangeLog:

* gdb.texinfo (TUI Commands): Add 'tui reg prev' details.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/reggroups.c
gdb/reggroups.h
gdb/tui/tui-regs.c