Re: [rfa:doco] Add ``maint print registers''

Andrew Cagney
2002-08-11T16:40:52Z

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

Try this, its better :-)

>> Date: Fri, 09 Aug 2002 20:07:17 -0400
>> From: Andrew Cagney <ac131313@ges.redhat.com>
>>
>> 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.
>
>
> Perhaps an example of raw and cooked representation will help here.

Hmm, it now states exactly what raw/cooked print and gives the
reference. (No, the Node isn't in the gdbint file yet :-)

>> ok?
>
>
> Yes, thanks.
>
>
>> +@item @anchor{maint print registers}maint print registers
>
>
> Why did you use @anchor here, if no other parts of the manual have
> any @xref's pointing to them?
>

Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1085 bytes --]

2002-08-11 Andrew Cagney <ac131313@redhat.com>

* gdb.texinfo (Maintenance Commands): Document "maint print
registers", "maint print raw-registers" and "maint print
cooked-registers".

Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.110
diff -u -r1.110 gdb.texinfo
--- gdb.texinfo 10 Aug 2002 00:40:40 -0000 1.110
+++ gdb.texinfo 11 Aug 2002 16:34:46 -0000
@@ -14195,6 +14195,21 @@

@end table

+@kindex maint print registers
+@kindex maint print raw-registers
+@kindex maint print cooked-registers
+@item maint print registers
+@itemx maint print raw-registers
+@itemx maint print cooked-registers
+Print @value{GDBN}'s internal register data structures.
+
+The command @samp{maint print raw-registers} includes the contents of
+the raw register cache; and the command @samp{maint print
+cooked-registers} includes the (cooked) value of all registers.
+@xref{Registers,, Registers, gdbint, @value{GDBN} Internals}.
+
+Takes an optional file parameter.
+
@end table