aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-02-07 19:47:16 +0000
committerTom Tromey <tromey@redhat.com>2012-02-07 19:47:16 +0000
commitf0823d2ce8e4cb8b64176872a372d8147804fb10 (patch)
treefb7552f824929309c2b65a6b54b656e90066885a /gdb/NEWS
parent64e7d9dddc00228cdbcecdd4c053cf83cf6608b7 (diff)
downloadgdb-f0823d2ce8e4cb8b64176872a372d8147804fb10.zip
gdb-f0823d2ce8e4cb8b64176872a372d8147804fb10.tar.gz
gdb-f0823d2ce8e4cb8b64176872a372d8147804fb10.tar.bz2
PR python/12027:
* python/python-internal.h (frame_object_type): Declare. * python/py-symbol.c (sympy_needs_frame): New function. (sympy_value): New function. (symbol_object_getset): Add "needs_frame". (symbol_object_methods): Add "value". * python/py-frame.c (frame_object_type): No longer static. gdb/doc * gdb.texinfo (Symbols In Python): Document Symbol.needs_frame and Symbol.value. gdb/testsuite * gdb.python/py-symbol.exp: Test Symbol.needs_frame and Symbol.value. * gdb.python/py-symbol.c (qq): Set default value.
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 bb9429f..46ef6d8 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -15,6 +15,11 @@
** gdb.Symbol now has a 'line' attribute, holding the line number in
the source at which the symbol was defined.
+ ** gdb.Symbol now has the new attribute 'needs_frame' and the new
+ method 'value'. The former indicates whether the symbol needs a
+ frame in order to compute its value, and the latter computes the
+ symbol's value.
+
* GDBserver now supports stdio connections.
E.g. (gdb) target remote | ssh myhost gdbserver - hello