aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-02-22 22:48:12 +0000
committerDoug Evans <dje@google.com>2011-02-22 22:48:12 +0000
commit6e6fbe60bc0412fec955d539b445b66b14a04e69 (patch)
tree369fa1e0716583cb0acf3890749ec42a6d0fae4b /gdb/NEWS
parent1d41d745ca37dc95f93c8e1a148b3c46c85d7273 (diff)
downloadgdb-6e6fbe60bc0412fec955d539b445b66b14a04e69.zip
gdb-6e6fbe60bc0412fec955d539b445b66b14a04e69.tar.gz
gdb-6e6fbe60bc0412fec955d539b445b66b14a04e69.tar.bz2
Add gdb.lookup_global_symbol python function.
* NEWS: Add entry. * python/py-symbol.c (gdbpy_lookup_global_symbol): New function. * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it. * python/python.c (GdbMethods): Add entry for lookup_global_symbol. doc/ * gdb.texinfo (Symbols In Python): Document lookup_global_symbol. Clarify behaviour of lookup_symbol when `block' argument is omitted, add description of result, fix @defun formatting. testsuite/ * gdb.python/py-symbol.exp: Test lookup_global_symbol.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index a07d32d..fb36383 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -38,6 +38,8 @@
* Python scripting
+ ** New function gdb.lookup_global_symbol looks up a global symbol.
+
** GDB values in Python are now callable if the value represents a
function. For example, if 'some_value' represents a function that
takes two integer parameters and returns a value, you can call