From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21272 invoked by alias); 11 Aug 2002 16:40:52 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21264 invoked from network); 11 Aug 2002 16:40:51 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 11 Aug 2002 16:40:51 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 62D5A3C53; Sun, 11 Aug 2002 12:40:44 -0400 (EDT) Message-ID: <3D56938C.9060908@ges.redhat.com> Date: Sun, 11 Aug 2002 09:40:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020810 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa:doco] Add ``maint print registers'' References: <3D545935.8010605@ges.redhat.com> <2593-Sun11Aug2002164401+0300-eliz@is.elta.co.il> Content-Type: multipart/mixed; boundary="------------090805060102030805000908" X-SW-Source: 2002-08/txt/msg00249.txt.bz2 This is a multi-part message in MIME format. --------------090805060102030805000908 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 698 Try this, its better :-) >> Date: Fri, 09 Aug 2002 20:07:17 -0400 >> From: Andrew Cagney >> >> 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 --------------090805060102030805000908 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1085 2002-08-11 Andrew Cagney * 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 --------------090805060102030805000908--