diff options
author | Siva Chandra Reddy <sivachandra@sourceware.org> | 2012-06-27 00:21:21 +0000 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@sourceware.org> | 2012-06-27 00:21:21 +0000 |
commit | ee0bf529c3da511fd32d4a997bf958a6af28b582 (patch) | |
tree | 9587312091dd0f122683506414693a5f8f0fafc8 /gdb/doc | |
parent | f7ccda615a4867b2f0f7cc0e68ba773562984da6 (diff) | |
download | gdb-ee0bf529c3da511fd32d4a997bf958a6af28b582.zip gdb-ee0bf529c3da511fd32d4a997bf958a6af28b582.tar.gz gdb-ee0bf529c3da511fd32d4a997bf958a6af28b582.tar.bz2 |
2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
New attribute 'last' for gdb.Symtab_and_line.
* NEWS (Python Scripting): Add entry about the new attribute.
* python/py-symtab.c (salpy_get_last): New function which
implements the get method for the 'last' attribute of
gdb.Symtab_and_line.
(sal_object_getset): Add entry for the 'last' attribute.
doc/
* gdb.texinfo (Symbol Tables In Python): Add description about
the new 'last' attribute of gdb.Symtab_and line.
testsuite/
* gdb.python/py-symtab.exp: Add tests to test the new attribute
'last' of gdb.Symtab_and_line.
* gdb.python/py-symbol.c: Move break point comment to enable
testing of gdb.Symtab_and_line.last.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index f0bbe3e..b1ebf98 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,10 @@ 2012-06-26 Siva Chandra Reddy <sivachandra@google.com> + * gdb.texinfo (Symbol Tables In Python): Add description about + the new 'last' attribute of gdb.Symtab_and line. + +2012-06-26 Siva Chandra Reddy <sivachandra@google.com> + * gdb.texinfo (Symbol Tables In Python): Correct the description of the 'pc' attribute of gdb.Symtab_and_line. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 80e1b9b..a2c9167 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -25276,6 +25276,11 @@ 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.last +Indicates the end of the address range occupied by code for the current +source line. This attribute is not writable. +@end defvar + @defvar Symtab_and_line.line Indicates the current line number for this object. This attribute is not writable. |