binutils-gdb/gdb/python
Christian Biesinger via gdb-patches e1f2e1a2da Add an objfile getter to gdb.Type
This allows users of the Python API to find the objfile where a type
was defined.

gdb/ChangeLog:

gdb/ChangeLog
2019-06-04  Christian Biesinger  <cbiesinger@google.com>

	Add objfile property to gdb.Type.
	* gdb/NEWS: Mention Python API addition.
	* gdb/python/py-type.c (typy_get_objfile): New method.

gdb/doc/ChangeLog
2019-06-04  Christian Biesinger  <cbiesinger@google.com>

	* gdb/doc/python.texi: Document new gdb.Type.objfile property.

gdb/testsuite/ChangeLog
2019-06-04  Christian Biesinger  <cbiesinger@google.com>

	* gdb/testsuite/gdb.python/py-type.exp: Test for new
	  gdb.Type.objfile property.
2019-06-04 09:46:06 -06:00
..
lib/gdb Fix incorrect use of 'is' operator for comparison in python/lib/gdb/command/prompt.py 2019-05-04 15:52:20 -04:00
py-all-events.def
py-arch.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-auto-load.c
py-block.c
py-bpevent.c
py-breakpoint.c Make exception handling more efficient 2019-04-25 12:59:35 -06:00
py-cmd.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-continueevent.c
py-event-types.def
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-frame.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-framefilter.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-function.c
py-gdb-readline.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-inferior.c Make exception handling more efficient 2019-04-25 12:59:35 -06:00
py-infevents.c
py-infthread.c Add python method InferiorThread.handle 2019-04-08 20:12:45 -07:00
py-instruction.c
py-instruction.h
py-lazy-string.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-linetable.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-newobjfileevent.c
py-objfile.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-param.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-prettyprint.c gdb: Introduce 'print max-depth' feature 2019-04-29 22:01:09 +01:00
py-progspace.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-record-btrace.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-record.h
py-ref.h
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-symtab.c
py-threadevent.c
py-type.c Add an objfile getter to gdb.Type 2019-06-04 09:46:06 -06:00
py-unwind.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
py-utils.c Make exception handling more efficient 2019-04-25 12:59:35 -06:00
py-value.c gdb: Introduce 'print max-depth' feature 2019-04-29 22:01:09 +01:00
py-varobj.c
py-xmethods.c
python-config.py
python-internal.h Make exception handling more efficient 2019-04-25 12:59:35 -06:00
python.c Rename gdb exception types 2019-04-08 09:05:40 -06:00
python.h