binutils-gdb/gdb/compile
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
..
compile-c-support.c gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04:00
compile-c-symbols.c gdb: remove TYPE_FIELD macro 2020-05-23 17:39:54 -04:00
compile-c-types.c gdb: remove TYPE_NFIELDS macro 2020-05-22 16:55:15 -04:00
compile-c.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-cplus-symbols.c gdb: remove TYPE_CODE macro 2020-05-14 13:46:38 -04:00
compile-cplus-types.c gdb: remove TYPE_FIELD macro 2020-05-23 17:39:54 -04:00
compile-cplus.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-internal.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-loc2c.c Add some methods to dwarf2_per_cu_data 2020-02-08 13:43:24 -07:00
compile-object-load.c gdb: remove TYPE_NFIELDS macro 2020-05-22 16:55:15 -04:00
compile-object-load.h Remove obsolete declaration 2020-05-22 13:35:13 -06:00
compile-object-run.c gdb: remove TYPE_NFIELDS macro 2020-05-22 16:55:15 -04:00
compile-object-run.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile.c gdb: add back declarations for _initialize functions 2020-01-13 14:01:38 -05:00
compile.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gcc-c-plugin.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gcc-cp-plugin.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00