aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-12-12 09:48:13 -0800
committerDoug Evans <dje@google.com>2014-12-12 09:48:13 -0800
commit6dddd6a5747532ef6e9703432c51680011df4e8d (patch)
tree35083e8dddfb1148d20dc1dc6808c05df7b8bb8a /gdb/NEWS
parentf161c17134bdfa5f5e72d7afb7dfccf5599a67e1 (diff)
downloadgdb-6dddd6a5747532ef6e9703432c51680011df4e8d.zip
gdb-6dddd6a5747532ef6e9703432c51680011df4e8d.tar.gz
gdb-6dddd6a5747532ef6e9703432c51680011df4e8d.tar.bz2
New python function gdb.lookup_objfile.
gdb/ChangeLog: * NEWS: Mention gdb.lookup_objfile. * python/python.c (GdbMethods): Add lookup_objfile. * python/python-internal.h (gdbpy_lookup_objfile): Declare. * python/py-objfile.c: #include "symtab.h". (objfpy_build_id_ok, objfpy_build_id_matches): New functions. (objfpy_lookup_objfile_by_name): New function. (objfpy_lookup_objfile_by_build_id): New function. (gdbpy_lookup_objfile): New function. gdb/doc/ChangeLog: * python.texi (Objfiles In Python): Document gdb.lookup_objfile. gdb/testsuite/ChangeLog: * lib/gdb-python.exp (get_python_valueof): New function. * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index a47dfbf..d2c5637 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -28,6 +28,7 @@
** A new event "gdb.clear_objfiles" has been added, triggered when
selecting a new file to debug.
** You can now add attributes to gdb.Objfile and gdb.Progspace objects.
+ ** New function gdb.lookup_objfile.
* New Python-based convenience functions: