This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Add indexing for standard registers, fix GDB name
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb-patches at sourceware dot org
- Date: Fri, 03 Jun 2005 10:14:01 +0300
- Subject: [COMMIT] Add indexing for standard registers, fix GDB name
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
FYI, I've just committed the following patch that deals with 2
problems:
. The standard registers didn't have index entries.
. There was a typo in Annotations Overview node: it used
@value{GDB}.
2005-06-03 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo (Registers): Add index entries for the standard
registers.
(Frames): Add cross-reference from frame pointer description to
the Registers node.
(Annotations Overview): Fix the reference to GDB name.
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.259
retrieving revision 1.260
diff -u -r1.259 -r1.260
--- gdb.texinfo 1 Jun 2005 20:38:44 -0000 1.259
+++ gdb.texinfo 3 Jun 2005 07:09:17 -0000 1.260
@@ -4149,8 +4149,8 @@
stack frame consists of many bytes, each of which has its own address; each
kind of computer has a convention for choosing one byte whose
address serves as the address of the frame. Usually this address is kept
-in a register called the @dfn{frame pointer register} while execution is
-going on in that frame.
+in a register called the @dfn{frame pointer register}
+(@pxref{Registers, $fp}) while execution is going on in that frame.
@cindex frame number
@value{GDBN} assigns numbers to all existing stack frames, starting with
@@ -6128,6 +6128,11 @@
the machine you are using, with or without the initial @samp{$}.
@end table
+@cindex stack pointer register
+@cindex program counter register
+@cindex process status register
+@cindex frame pointer register
+@cindex standard registers
@value{GDBN} has four ``standard'' register names that are available (in
expressions) on most machines---whenever they do not conflict with an
architecture's canonical mnemonics for registers. The register names
@@ -20589,7 +20594,7 @@
@table @code
@kindex set annotate
@item set annotate @var{level}
-The @value{GDB} command @code{set annotate} sets the level of
+The @value{GDBN} command @code{set annotate} sets the level of
annotations to the specified @var{level}.
@item show annotate