gdb: remove COMPUNIT_MACRO_TABLE macro, add getter/setter
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 20 Nov 2021 03:43:56 +0000 (22:43 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 6 Feb 2022 20:48:19 +0000 (15:48 -0500)
commit10cc645b6a09c58cf1a5ce53accbe6cf3178ca12
tree1c66ae2f2ca011fa051bee725a67cf3180123704
parent3908b699f8d08499ad53adcb34e8a4675cf39142
gdb: remove COMPUNIT_MACRO_TABLE macro, add getter/setter

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

Change-Id: I00615ea72d5ac43d9a865e941cb2de0a979c173a
gdb/buildsym.c
gdb/macroscope.c
gdb/mi/mi-cmd-file.c
gdb/source.c
gdb/symtab.h