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/remote.h | |
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/remote.h')
-rw-r--r-- | gdb/remote.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/remote.h b/gdb/remote.h index 25f5ccc..fae7f25 100644 --- a/gdb/remote.h +++ b/gdb/remote.h @@ -56,4 +56,8 @@ bfd *remote_bfd_open (const char *remote_file, const char *target); int remote_filename_p (const char *filename); +extern int remote_register_number_and_offset (struct gdbarch *gdbarch, + int regnum, int *pnum, + int *poffset); + #endif |