gdb: remove TYPE_FIELD_TYPE macro
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 8 Jun 2020 19:26:20 +0000 (15:26 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 8 Jun 2020 19:26:31 +0000 (15:26 -0400)
commit940da03e32c28144134d0373faf7fd5ea158f1ae
treea104a5666df69b0a45c5e5d04aba70cb10410dad
parentb6cdac4b80c1d32726227305e16483cef9d40e2c
gdb: remove TYPE_FIELD_TYPE macro

Remove the `TYPE_FIELD_TYPE` macro, changing all the call sites to use
`type::field` and `field::type` directly.

gdb/ChangeLog:

* gdbtypes.h (TYPE_FIELD_TYPE): Remove.  Change all call sites
to use type::field and field::type instead.

Change-Id: Ifda6226a25c811cfd334a756a9fbc5c0afdddff3
62 files changed:
gdb/ChangeLog
gdb/aarch64-tdep.c
gdb/ada-exp.y
gdb/ada-lang.c
gdb/ada-tasks.c
gdb/ada-typeprint.c
gdb/ada-valprint.c
gdb/ada-varobj.c
gdb/amd64-tdep.c
gdb/arm-tdep.c
gdb/ax-gdb.c
gdb/c-lang.c
gdb/c-typeprint.c
gdb/c-valprint.c
gdb/c-varobj.c
gdb/compile/compile-c-symbols.c
gdb/compile/compile-c-types.c
gdb/compile/compile-cplus-types.c
gdb/compile/compile-object-load.c
gdb/compile/compile-object-run.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/gnu-v3-abi.c
gdb/go-lang.c
gdb/go-valprint.c
gdb/i386-darwin-tdep.c
gdb/i386-tdep.c
gdb/i386-windows-tdep.c
gdb/ia64-tdep.c
gdb/infcall.c
gdb/m2-lang.c
gdb/m2-typeprint.c
gdb/m2-valprint.c
gdb/m68k-tdep.c
gdb/mips-tdep.c
gdb/mn10300-tdep.c
gdb/nds32-tdep.c
gdb/p-exp.y
gdb/p-lang.c
gdb/p-typeprint.c
gdb/p-valprint.c
gdb/ppc-sysv-tdep.c
gdb/python/py-type.c
gdb/riscv-tdep.c
gdb/rust-lang.c
gdb/rx-tdep.c
gdb/score-tdep.c
gdb/sh-tdep.c
gdb/sparc64-tdep.c
gdb/typeprint.c
gdb/v850-tdep.c
gdb/valops.c
gdb/valprint.c
gdb/value.c