binutils-gdb/gdb/python
Simon Marchi ceacbf6edf gdb: remove TYPE_FIELD macro
Replace all uses of it by type::field.

Note that since type::field returns a reference to the field, some spots
are used to assign the whole field structure.  See ctfread.c, function
attach_fields_to_type, for example.  This is the same as was happening
with the macro, so I don't think it's a problem, but if anybody sees a
really nicer way to do this, now could be a good time to implement it.

gdb/ChangeLog:

	* gdbtypes.h (TYPE_FIELD): Remove.  Replace all uses with
	type::field.
2020-05-23 17:39:54 -04:00
..
lib/gdb
py-all-events.def
py-arch.c
py-auto-load.c
py-block.c
py-bpevent.c
py-breakpoint.c
py-cmd.c Allow Python commands to be in class_tui 2020-04-28 08:54:17 -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 gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04:00
py-frame.c
py-framefilter.c gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04:00
py-function.c
py-gdb-readline.c
py-inferior.c Change get_objfile_arch to a method on objfile 2020-04-18 08:35:04 -06:00
py-infevents.c
py-infthread.c
py-instruction.c
py-instruction.h
py-lazy-string.c gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04:00
py-linetable.c
py-newobjfileevent.c
py-objfile.c Change get_objfile_arch to a method on objfile 2020-04-18 08:35:04 -06:00
py-param.c
py-prettyprint.c
py-progspace.c
py-record-btrace.c
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c
py-record.h
py-ref.h
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c
py-symtab.c
py-threadevent.c
py-tui.c Mark move constructors as "noexcept" 2020-04-20 11:45:06 -06:00
py-type.c gdb: remove TYPE_FIELD macro 2020-05-23 17:39:54 -04:00
py-unwind.c
py-utils.c
py-value.c gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04:00
py-varobj.c
py-xmethods.c gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04:00
python-config.py
python-internal.h
python.c Remove ALL_PSPACES 2020-05-08 14:21:22 -06:00
python.h