2011-04-20 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Wed, 20 Apr 2011 17:54:08 +0000 (17:54 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 20 Apr 2011 17:54:08 +0000 (17:54 +0000)
commitc21236dc7563a54e2de9a8edd11ec697cd112a66
tree1a9d331b73167dd5ad7ab91fe5b9ab6293ba8351
parentb78974c3b4cea6c98cb8dfd9c0bee59efd45d311
2011-04-20  Pedro Alves  <pedro@codesourcery.com>

gdb/
* regcache.c: Include remote.h.
(enum regcache_dump_what) <regcache_dump_remote>: New enum value.
(regcache_dump): Handle regcache_dump_remote.
(maintenance_print_remote_registers): New function.
(_initialize_regcache): Install "maint print remote-registers"
command.
* remote.c (map_regcache_remote_table): New function, factored out
from ...
(init_remote_state): ... here.
(remote_register_number_and_offset): New.
* remote.h (remote_register_number_and_offset): Declare.

gdb/doc/
* gdb.texinfo (Maintenance Commands): Document `maint print
remote-registers'.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/regcache.c
gdb/remote.c
gdb/remote.h