gdb: remove BLOCKVECTOR_BLOCK and BLOCKVECTOR_NBLOCKS macros
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 7 Feb 2022 03:54:03 +0000 (22:54 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 28 Apr 2022 02:05:03 +0000 (22:05 -0400)
commit63d609debba854d08a515f73d0ad8e4ef8948370
treec5e6b2c9d4b48350c707316a48e69388524cdf66
parent6395b62847e581acc3e8fa179444b824d17b3d68
gdb: remove BLOCKVECTOR_BLOCK and BLOCKVECTOR_NBLOCKS macros

Replace with calls to blockvector::blocks, and the appropriate method
call on the returned array_view.

Change-Id: I04d1f39603e4d4c21c96822421431d9a029d8ddd
25 files changed:
gdb/ada-exp.y
gdb/ada-lang.c
gdb/block.c
gdb/block.h
gdb/buildsym.c
gdb/c-exp.y
gdb/coffread.c
gdb/compile/compile-object-load.c
gdb/compile/compile.c
gdb/cp-support.c
gdb/guile/scm-symtab.c
gdb/jit.c
gdb/linespec.c
gdb/maint.c
gdb/mdebugread.c
gdb/objfiles.c
gdb/p-exp.y
gdb/parse.c
gdb/psymtab.c
gdb/python/py-symbol.c
gdb/python/py-symtab.c
gdb/symfile-debug.c
gdb/symmisc.c
gdb/symtab.c
gdb/symtab.h