summaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorsivachandra <sivachandra>2012-06-27 00:21:17 +0000
committersivachandra <sivachandra>2012-06-27 00:21:17 +0000
commitf04d9670af1fa57be69e757a949c3476e03e3df6 (patch)
tree57f9c67271922b3ee217d37ec1dc18e394fbb28a /gdb/NEWS
parent979d0c94fccc84b42cd4188be4d0897186419423 (diff)
downloadgdb-f04d9670af1fa57be69e757a949c3476e03e3df6.tar.gz
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/NEWS')
-rw-r--r--gdb/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index eeecc57731f..b1f67759fa7 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -60,6 +60,9 @@
** New function gdb.find_pc_line which returns the gdb.Symtab_and_line
object associated with a PC value.
+ ** gdb.Symtab_and_line has new attribute 'last' which holds the end
+ of the address range occupied by code for the current source line.
+
* Go language support.
GDB now supports debugging programs written in the Go programming
language.