diff options
author | Pedro Alves <palves@redhat.com> | 2011-04-20 17:54:08 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-04-20 17:54:08 +0000 |
commit | c21236dc7563a54e2de9a8edd11ec697cd112a66 (patch) | |
tree | 1a9d331b73167dd5ad7ab91fe5b9ab6293ba8351 /gdb/doc | |
parent | b78974c3b4cea6c98cb8dfd9c0bee59efd45d311 (diff) | |
download | gdb-c21236dc7563a54e2de9a8edd11ec697cd112a66.zip gdb-c21236dc7563a54e2de9a8edd11ec697cd112a66.tar.gz gdb-c21236dc7563a54e2de9a8edd11ec697cd112a66.tar.bz2 |
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'.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 14 |
2 files changed, 14 insertions, 5 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 4115b7b..88e5fff 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-20 Pedro Alves <pedro@codesourcery.com> + + * gdb.texinfo (Maintenance Commands): Document `maint print + remote-registers'. + 2011-04-20 Tom Tromey <tromey@redhat.com> * gdb.texinfo (Trace File Format): Move node later. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 387227c..a48dac0 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -31678,18 +31678,22 @@ Takes an optional file parameter. @kindex maint print raw-registers @kindex maint print cooked-registers @kindex maint print register-groups +@kindex maint print remote-registers @item maint print registers @r{[}@var{file}@r{]} @itemx maint print raw-registers @r{[}@var{file}@r{]} @itemx maint print cooked-registers @r{[}@var{file}@r{]} @itemx maint print register-groups @r{[}@var{file}@r{]} +@itemx maint print remote-registers @r{[}@var{file}@r{]} Print @value{GDBN}'s internal register data structures. The command @code{maint print raw-registers} includes the contents of -the raw register cache; the command @code{maint print cooked-registers} -includes the (cooked) value of all registers, including registers which -aren't available on the target nor visible to user; and the -command @code{maint print register-groups} includes the groups that each -register is a member of. @xref{Registers,, Registers, gdbint, +the raw register cache; the command @code{maint print +cooked-registers} includes the (cooked) value of all registers, +including registers which aren't available on the target nor visible +to user; the command @code{maint print register-groups} includes the +groups that each register is a member of; and the command @code{maint +print remote-registers} includes the remote target's register numbers +and offsets in the `G' packets. @xref{Registers,, Registers, gdbint, @value{GDBN} Internals}. These commands take an optional parameter, a file name to which to |