This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfa:doco] Add ``maint print registers''
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 09 Aug 2002 20:07:17 -0400
- Subject: [rfa:doco] Add ``maint print registers''
Hello,
This adds documentation for the commands:
maint print regiters
maint print raw-registers
maint print cooked-registers
One thing I've noticed in the doco is that it refers to cooked but
cooked is an internal thing explained (or it will be ...) in the
internals document.
ok?
Andrew
Index: doc/ChangeLog
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".
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.108
diff -u -r1.108 gdb.texinfo
--- doc/gdb.texinfo 9 Aug 2002 16:41:25 -0000 1.108
+++ doc/gdb.texinfo 10 Aug 2002 00:04:08 -0000
@@ -14195,6 +14195,18 @@
@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