Add new GDB command "maint print user-registers"
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Fri, 12 Dec 2014 16:11:22 +0000 (17:11 +0100)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 12 Dec 2014 16:11:22 +0000 (17:11 +0100)
commitf5b95c01fbe709f73ca3ba60136ff973dcb706a5
treeb4aaae0ca99aab145b7245b0d0ca5946c2b805f6
parent3e29f34a4eef29f5b159749ccb1efb8867b2e651
Add new GDB command "maint print user-registers"

This adds a command for listing the "user" registers.  So far GDB
offered no means of determining the set of user registers and omitted
them from all other register listings.

gdb/ChangeLog:

* user-regs.c: Include "arch-utils.h", "command.h", and
"cli/cli-cmds.h".
(maintenance_print_user_registers): New.
(_initialize_user_regs): Register new "maint print user-registers"
subcommand.
* NEWS: Mention new GDB command "maint print user-registers".

gdb/doc/ChangeLog:

* gdb.texinfo: Document "maint print user-registers".
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/user-regs.c