gdb: remove COMPUNIT_BLOCKVECTOR macro, add getter/setter
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 20 Nov 2021 03:25:23 +0000 (22:25 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 6 Feb 2022 20:48:18 +0000 (15:48 -0500)
commitaf39c5c8749757724a0f62dcb51be59cf3ecc678
treea960f6bfd23ad6080061d29dbec58125cc33f106
parent0d9acb4531cfe336b2b335fbaa1f2ef878a6e4d9
gdb: remove COMPUNIT_BLOCKVECTOR macro, add getter/setter

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

Change-Id: I99484c6619dcbbea7c5d89c72aa660316ca62f64
15 files changed:
gdb/ada-lang.c
gdb/block.c
gdb/buildsym.c
gdb/cp-support.c
gdb/dwarf2/read.c
gdb/jit.c
gdb/maint.c
gdb/mdebugread.c
gdb/objfiles.c
gdb/psymtab.c
gdb/python/py-symbol.c
gdb/symfile-debug.c
gdb/symmisc.c
gdb/symtab.c
gdb/symtab.h