gdb: remove SYMBOL_TYPE macro
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 28 Jan 2022 03:16:41 +0000 (22:16 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Sun, 6 Feb 2022 21:03:47 +0000 (16:03 -0500)
commit5f9c5a63ce38b103f778f54394c6a3d43b7ade90
treec356fc03c61b9e9234aa8e187fb6c2303b8e5d2c
parentf5abd8f234426bbe8ccd08c43e6ae7cbe635e042
gdb: remove SYMBOL_TYPE macro

Add a getter and a setter for a symbol's type.  Remove the corresponding
macro and adjust all callers.

Change-Id: Ie1a137744c5bfe1df4d4f9ae5541c5299577c8de
57 files changed:
gdb/ada-exp.y
gdb/ada-lang.c
gdb/ada-tasks.c
gdb/ax-gdb.c
gdb/block.c
gdb/blockframe.c
gdb/buildsym.c
gdb/c-exp.y
gdb/c-typeprint.c
gdb/c-valprint.c
gdb/coffread.c
gdb/compile/compile-c-symbols.c
gdb/compile/compile-cplus-symbols.c
gdb/compile/compile-cplus-types.c
gdb/compile/compile-object-load.c
gdb/compile/compile-object-run.c
gdb/cp-namespace.c
gdb/cp-support.c
gdb/ctfread.c
gdb/d-exp.y
gdb/d-namespace.c
gdb/dwarf2/loc.c
gdb/dwarf2/read.c
gdb/eval.c
gdb/f-exp.y
gdb/fbsd-tdep.c
gdb/findvar.c
gdb/gdbtypes.c
gdb/gnu-v3-abi.c
gdb/go-exp.y
gdb/guile/scm-symbol.c
gdb/infcmd.c
gdb/jit.c
gdb/language.c
gdb/linespec.c
gdb/m2-typeprint.c
gdb/mdebugread.c
gdb/mi/mi-cmd-stack.c
gdb/mi/mi-symbol-cmds.c
gdb/objc-lang.c
gdb/p-exp.y
gdb/p-valprint.c
gdb/python/py-finishbreakpoint.c
gdb/python/py-symbol.c
gdb/python/py-type.c
gdb/rust-lang.c
gdb/rust-parse.c
gdb/sparc-tdep.c
gdb/stabsread.c
gdb/stack.c
gdb/symmisc.c
gdb/symtab.c
gdb/symtab.h
gdb/tracepoint.c
gdb/typeprint.c
gdb/valops.c
gdb/xcoffread.c