aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-10 00:36:46 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-10 00:36:46 +0000
commitaf030b9af8fb757ef5c5553951a90e20cae1059b (patch)
tree0a598c8ea3e9ba0753cf194d097c3d2e7df3b3ea /gdb/doc
parentcb3d25d11f6af715fc361ab4f8e3631be3f6a110 (diff)
downloadgdb-af030b9af8fb757ef5c5553951a90e20cae1059b.zip
gdb-af030b9af8fb757ef5c5553951a90e20cae1059b.tar.gz
gdb-af030b9af8fb757ef5c5553951a90e20cae1059b.tar.bz2
2002-08-09 Andrew Cagney <cagney@redhat.com>
* regcache.c: Include "gdbcmd.h" (_initialize_regcache): Add commands "maintenance print registers", "maintenance print raw-registers" and "maintenance print cooked-registers". (enum regcache_dump_what): Define. (dump_endian_bytes): New function. (regcache_dump): New function. (regcache_print): New function. (maintenance_print_registers): New function. (maintenance_print_raw_registers): New function. (maintenance_print_cooked_registers): New function. * Makefile.in (regcache.o): Update dependencies.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog7
-rw-r--r--gdb/doc/gdb.texinfo12
2 files changed, 18 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index b9d82f0..b7d5990 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,10 +1,15 @@
+2002-08-09 Andrew Cagney <cagney@redhat.com>
+
+ * gdb.texinfo (Maintenance Commands): Document "maint print
+ registers", "maint print raw-registers" and "maint print
+ cooked-registers".
+
2002-08-08 Grace Sainsbury <graces@redhat.com>
From Mark Salter:
* gdb.texinfo (Protocol): Document T packet extension to
allow watchpoint address reporting.
-
2002-08-03 Andrew Cagney <ac131313@redhat.com>
* gdb.texinfo (Dump/Restore Files): Move `[]' to outside of @var.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index dd5e7aa..66d1eb6 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -14195,6 +14195,18 @@ Shared library events.
@end table
+@kindex maint print registers
+@kindex maint print raw-registers
+@kindex maint print cooked-registers
+@item @anchor{maint print registers}maint print registers
+@itemx @anchor{maint print raw-registers}maint print raw-registers
+@itemx @anchor{maint print cooked-registers}maint print cooked-registers
+Print @value{GDBN}'s internal register structure. @samp{maint print
+raw-registers} includes the raw register cache value while @samp{maint
+print cooked-registers} includes the cooked register value.
+
+Takes an optional file parameter.
+
@end table