diff options
author | Tom Tromey <tromey@redhat.com> | 2012-02-07 19:47:16 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-02-07 19:47:16 +0000 |
commit | f0823d2ce8e4cb8b64176872a372d8147804fb10 (patch) | |
tree | fb7552f824929309c2b65a6b54b656e90066885a /gdb/NEWS | |
parent | 64e7d9dddc00228cdbcecdd4c053cf83cf6608b7 (diff) | |
download | gdb-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |