binutils-gdb/gdb/python
Tom Tromey 1b20edf043 Improve reference counting in py-type.c
This improves the reference counting in py-type.c by using gdbpy_ref
and gdbpy_ref::new_reference in more places.

gdb/ChangeLog
2019-01-03  Tom Tromey  <tom@tromey.com>

	* python/py-type.c (convert_field): Use new_reference.  Return
	gdbpy_ref.
	(make_fielditem): Return gdbpy_ref.
	(typy_fields): Update.
	(typy_getitem): Update.
	(field_name): Return gdbpy_ref.  Use new_reference.
	(typy_iterator_iternext): Update.
2019-01-03 14:49:19 -07:00
..
lib/gdb Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-all-events.def Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-arch.c Style improvements in gdb/python 2019-01-02 09:32:06 -07:00
py-auto-load.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-block.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-bpevent.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-breakpoint.c Style improvements in gdb/python 2019-01-02 09:32:06 -07:00
py-cmd.c Remove more uses of explicit reference counting in Python 2019-01-03 14:49:18 -07:00
py-continueevent.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-event-types.def Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-event.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-event.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-events.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-evtregistry.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-evts.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-exitedevent.c Change inferior_to_inferior_object to return a gdbpy_ref 2019-01-02 16:28:33 -07:00
py-finishbreakpoint.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-frame.c Style improvements in gdb/python 2019-01-02 09:32:06 -07:00
py-framefilter.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-function.c Remove more uses of explicit reference counting in Python 2019-01-03 14:49:18 -07:00
py-gdb-readline.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-inferior.c Change inferior_to_inferior_object to return a gdbpy_ref 2019-01-02 16:28:33 -07:00
py-infevents.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-infthread.c Change inferior_to_inferior_object to return a gdbpy_ref 2019-01-02 16:28:33 -07:00
py-instruction.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-instruction.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-lazy-string.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-linetable.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-newobjfileevent.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-objfile.c Remove more uses of explicit reference counting in Python 2019-01-03 14:49:18 -07:00
py-param.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-prettyprint.c Use a wrapper for PyErr_Fetch 2019-01-03 14:49:18 -07:00
py-progspace.c Remove more uses of explicit reference counting in Python 2019-01-03 14:49:18 -07:00
py-record-btrace.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-record-btrace.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-record-full.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-record-full.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-record.c Simplify gdbpy_stop_recording 2019-01-03 14:49:18 -07:00
py-record.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-ref.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-signalevent.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-stopevent.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-stopevent.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-symbol.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-symtab.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-threadevent.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-type.c Improve reference counting in py-type.c 2019-01-03 14:49:19 -07:00
py-unwind.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
py-utils.c Use a wrapper for PyErr_Fetch 2019-01-03 14:49:18 -07:00
py-value.c Remove more uses of explicit reference counting in Python 2019-01-03 14:49:18 -07:00
py-varobj.c Use a wrapper for PyErr_Fetch 2019-01-03 14:49:18 -07:00
py-xmethods.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
python-config.py configure uses incorrect link order when testing libpython 2018-05-04 10:08:09 -04:00
python-internal.h Use a wrapper for PyErr_Fetch 2019-01-03 14:49:18 -07:00
python.c Use a wrapper for PyErr_Fetch 2019-01-03 14:49:18 -07:00
python.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00