diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-19 22:35:40 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-02-06 15:48:19 -0500 |
commit | b0fc0e82d5ca4047ab3054a814b68a841e7001ea (patch) | |
tree | 2ef7ff6a9b11429764255484ceeead0d359ad58c /gdb/dwarf2 | |
parent | c1e35bc9c6b9d7efe0f720394b1febe71bbc728b (diff) | |
download | gdb-b0fc0e82d5ca4047ab3054a814b68a841e7001ea.zip gdb-b0fc0e82d5ca4047ab3054a814b68a841e7001ea.tar.gz gdb-b0fc0e82d5ca4047ab3054a814b68a841e7001ea.tar.bz2 |
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
Diffstat (limited to 'gdb/dwarf2')
-rw-r--r-- | gdb/dwarf2/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 0d78c24..a14ac22 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -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; |