aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-02-07 19:42:27 +0000
committerTom Tromey <tromey@redhat.com>2012-02-07 19:42:27 +0000
commit64e7d9dddc00228cdbcecdd4c053cf83cf6608b7 (patch)
tree81e5d325950872985aca39c9bf8ea390c04261b1 /gdb/NEWS
parent1d6b2d2b4a864c478fb6a46e15a29859641fe788 (diff)
downloadgdb-64e7d9dddc00228cdbcecdd4c053cf83cf6608b7.zip
gdb-64e7d9dddc00228cdbcecdd4c053cf83cf6608b7.tar.gz
gdb-64e7d9dddc00228cdbcecdd4c053cf83cf6608b7.tar.bz2
PR python/13599:
* python/py-symbol.c (sympy_line): New function. (symbol_object_getset): Add "line". gdb/doc * gdb.texinfo (Symbols In Python): Document Symbol.line. gdb/testsuite * gdb.python/py-symbol.c (qq): New global. * gdb.python/py-symbol.exp: Add test for frame-less lookup_symbol. * gdb.python/py-symtab.exp: Fix line number.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 4798b7b..bb9429f 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -10,6 +10,11 @@
** A new class, gdb.printing.FlagEnumerationPrinter, can be used to
apply "flag enum"-style pretty-printing to any enum.
+ ** gdb.lookup_symbol can now work when there is no current frame.
+
+ ** gdb.Symbol now has a 'line' attribute, holding the line number in
+ the source at which the symbol was defined.
+
* GDBserver now supports stdio connections.
E.g. (gdb) target remote | ssh myhost gdbserver - hello