gdb: remove SYMBOL_LINE macro
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 28 Jan 2022 03:39:50 +0000 (22:39 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Sun, 6 Feb 2022 21:03:47 +0000 (16:03 -0500)
commit5d0027b9bab7cbf5eb41a8c8ad1b9e4650d5f87e
treeb54cfc8279c1e0dbafcc9ba758bc62b1d5955c01
parent5f9c5a63ce38b103f778f54394c6a3d43b7ade90
gdb: remove SYMBOL_LINE macro

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

Change-Id: I229f2b8fcf938c07975f641361313a8761fad9a5
13 files changed:
gdb/ada-lang.c
gdb/compile/compile-c-symbols.c
gdb/compile/compile-cplus-symbols.c
gdb/compile/compile-cplus-types.c
gdb/dwarf2/read.c
gdb/frame.c
gdb/guile/scm-symbol.c
gdb/linespec.c
gdb/mi/mi-symbol-cmds.c
gdb/python/py-symbol.c
gdb/stabsread.c
gdb/symtab.c
gdb/symtab.h