Doug Evans
6dddd6a574
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.
2014-12-12 09:48:13 -08:00
..
2014-09-07 14:09:59 +02:00
2014-08-09 08:46:32 +08:00
2014-10-17 11:28:17 -03:00
2014-09-06 09:15:44 -07:00
2014-09-06 09:15:44 -07:00
2014-09-07 20:12:19 -03:00
2014-09-03 16:30:28 -04:00
2014-09-03 16:30:28 -04:00
2014-11-13 10:20:44 +01:00
2014-12-02 11:15:29 -08:00
2014-12-02 11:15:29 -08:00
2014-08-22 13:44:18 +08:00
2014-11-13 10:20:44 +01:00
2014-08-22 13:44:18 +08:00
2014-10-20 13:34:28 +08:00
2014-09-03 16:34:47 -07:00
2014-09-07 14:09:59 +02:00
2014-09-07 14:09:59 +02:00
2014-09-07 14:09:59 +02:00
2014-11-17 10:26:31 +01:00
2014-11-17 10:26:31 +01:00
2014-10-20 13:34:28 +08:00
2014-11-28 11:36:52 -05:00
2014-10-20 13:34:28 +08:00
2014-10-20 13:34:33 +08:00
2014-10-20 13:34:33 +08:00
2014-12-12 09:48:13 -08:00
2014-10-15 15:33:24 +08:00
2014-10-20 13:34:28 +08:00
2014-10-20 13:34:28 +08:00
2014-10-20 13:34:28 +08:00
2014-10-30 17:05:17 -07:00
2014-09-11 13:04:14 +01:00
2014-10-20 13:34:28 +08:00
2014-10-15 15:33:24 +08:00
2014-10-15 15:33:24 +08:00
2014-09-11 13:04:14 +01:00
2014-11-28 11:36:52 -05:00
2014-10-20 13:34:28 +08:00
2014-11-28 11:36:52 -05:00
2014-11-28 11:36:52 -05:00
2014-06-18 04:31:47 -07:00
2014-10-20 13:34:28 +08:00
2014-08-15 18:04:47 -07:00
2014-12-01 08:08:06 -05:00