diff --git a/gdb/dwarf2/read.h b/gdb/dwarf2/read.h index 44bc3ce88a0c..9dfc435e861c 100644 --- a/gdb/dwarf2/read.h +++ b/gdb/dwarf2/read.h @@ -104,10 +104,10 @@ struct dwarf2_per_cu_data is_dwz (false), reading_dwo_directly (false), tu_read (false), - files_read (false), queued (false), m_header_read_in (false), mark (false), + files_read (false), scanned (false) { } @@ -150,10 +150,6 @@ struct dwarf2_per_cu_data This flag is only valid if is_debug_types is true. */ unsigned int tu_read : 1; - /* True if we've tried to read the file table. There will be no - point in trying to read it again next time. */ - bool files_read : 1; - /* Wrap the following in struct packed instead of bitfields to avoid data races when the bitfields end up on the same memory location (per C++ memory model). */ @@ -176,6 +172,10 @@ struct dwarf2_per_cu_data expand_symtabs_matching. */ packed mark; + /* True if we've tried to read the file table. There will be no + point in trying to read it again next time. */ + packed files_read; + private: /* The unit type of this CU. */ std::atomic> m_unit_type {(dwarf_unit_type)0};