gdb: remove TYPE_FIELD_NAME and FIELD_NAME macros
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 30 Aug 2021 15:49:49 +0000 (11:49 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 1 Oct 2021 02:05:57 +0000 (22:05 -0400)
commit33d16dd987d16fe1eb289853e5a444192bb31d9e
tree06c5ec20fad9309ab4dace3b6c659fa518d272af
parentd3fd12dfc52cf4cbb910830e3ff60dca111f7468
gdb: remove TYPE_FIELD_NAME and FIELD_NAME macros

Remove the `TYPE_FIELD_NAME` and `FIELD_NAME` macros, changing all the
call sites to use field::name directly.

Change-Id: I6900ae4e1ffab1396e24fb3298e94bf123826ca6
34 files changed:
gdb/ada-lang.c
gdb/ada-typeprint.c
gdb/ada-valprint.c
gdb/ada-varobj.c
gdb/ax-gdb.c
gdb/c-typeprint.c
gdb/c-varobj.c
gdb/compile/compile-c-types.c
gdb/compile/compile-cplus-types.c
gdb/compile/compile-object-load.c
gdb/completer.c
gdb/cp-valprint.c
gdb/d-valprint.c
gdb/dwarf2/read.c
gdb/eval.c
gdb/f-typeprint.c
gdb/f-valprint.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/gnu-v2-abi.c
gdb/go-lang.c
gdb/guile/scm-type.c
gdb/m2-typeprint.c
gdb/p-lang.c
gdb/p-typeprint.c
gdb/p-valprint.c
gdb/python/py-type.c
gdb/rust-lang.c
gdb/stabsread.c
gdb/symtab.c
gdb/typeprint.c
gdb/valops.c
gdb/valprint.c
gdb/value.c