forked from Imagelibrary/binutils-gdb
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
This commit is contained in:
committed by
Simon Marchi
parent
c1e35bc9c6
commit
b0fc0e82d5
@@ -9493,7 +9493,7 @@ process_full_comp_unit (dwarf2_cu *cu, enum language pretend_language)
|
||||
options - this waits on GCC PR other/32998 (-frecord-gcc-switches).
|
||||
*/
|
||||
if (cu->has_loclist && gcc_4_minor >= 5)
|
||||
cust->locations_valid = 1;
|
||||
cust->set_locations_valid (true);
|
||||
|
||||
if (gcc_4_minor >= 5)
|
||||
cust->epilogue_unwind_valid = 1;
|
||||
|
||||
Reference in New Issue
Block a user