gdb: remove COMPUNIT_LOCATIONS_VALID macro, add getter/setter
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 20 Nov 2021 03:35:40 +0000 (22:35 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 6 Feb 2022 20:48:19 +0000 (15:48 -0500)
commitb0fc0e82d5ca4047ab3054a814b68a841e7001ea
tree2ef7ff6a9b11429764255484ceeead0d359ad58c
parentc1e35bc9c6b9d7efe0f720394b1febe71bbc728b
gdb: remove COMPUNIT_LOCATIONS_VALID macro, add getter/setter

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

Change-Id: I3e3cfba926ce62993d5b61814331bb3244afad01
gdb/dwarf2/read.c
gdb/symtab.c
gdb/symtab.h