gdb: remove SYMTAB_LINETABLE macro, add getter/setter
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 20 Nov 2021 13:40:12 +0000 (08:40 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 6 Feb 2022 20:48:19 +0000 (15:48 -0500)
commit5b6074611edfdd1590e8da1ca443950b47942bbb
treea8bd20dacac08b7c4d6ddfe627474e33fe36fb71
parentc61596525811d9b0fe79be8f11e5a142ade96dab
gdb: remove SYMTAB_LINETABLE macro, add getter/setter

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

Change-Id: I159183fc0ccd8e18ab937b3c2f09ef2244ec6e9c
gdb/buildsym.c
gdb/disasm.c
gdb/jit.c
gdb/mdebugread.c
gdb/mi/mi-symbol-cmds.c
gdb/objfiles.c
gdb/python/py-linetable.c
gdb/record-btrace.c
gdb/symmisc.c
gdb/symtab.c
gdb/symtab.h