[RFC - doc fix] Correct the description of gdb.Symtab_and_line.pc

Siva Chandra sivachandra@google.com
Sun Jun 24 17:53:00 GMT 2012


Hello,

Attached is a patch which corrects the description of the 'pc'
attribute of gdb.Symtab_and_line in the doc.

See http://sourceware.org/ml/gdb-patches/2012-06/msg00717.html and
http://sourceware.org/ml/gdb-patches/2012-06/msg00754.html for
reference. The wording in the attached patch is in line with the
description of the 'last' attribute in the latter patch.

doc/
2012-06-24  Siva Chandra Reddy  <sivachandra@google.com>

        * gdb.texinfo (Symbol Tables In Python): Correct the description
        of the 'pc' attribute of gdb.Symtab_and_line.

Thanks,
Siva Chandra
-------------- next part --------------
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.979
diff -u -p -r1.979 gdb.texinfo
--- doc/gdb.texinfo	23 Jun 2012 22:23:47 -0000	1.979
+++ doc/gdb.texinfo	24 Jun 2012 17:41:36 -0000
@@ -25260,8 +25260,8 @@ This attribute is not writable.
 @end defvar
 
 @defvar Symtab_and_line.pc
-Indicates the current program counter address.  This attribute is not
-writable.
+Indicates the start of the address range occupied by code for the
+current source line.  This attribute is not writable.
 @end defvar
 
 @defvar Symtab_and_line.line


More information about the Gdb-patches mailing list