Set dwarf2_per_cu_data::m_header_read_in
I noticed that nothing in dwarf2/read.c sets dwarf2_per_cu_data::m_header_read_in. This patch adds the appropriate assignment. gdb/ChangeLog 2021-03-14 Tom Tromey <tom@tromey.com> * dwarf2/read.c (dwarf2_per_cu_data::get_header): Set m_header_read_in.
This commit is contained in:
parent
933721ed0c
commit
a9f172c6b7
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2021-03-14 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* dwarf2/read.c (dwarf2_per_cu_data::get_header): Set
|
||||
m_header_read_in.
|
||||
|
||||
2021-03-13 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* dwarf2/read.c (struct partial_die_info): Update.
|
||||
|
|
|
@ -24758,6 +24758,8 @@ dwarf2_per_cu_data::get_header () const
|
|||
|
||||
read_comp_unit_head (&m_header, info_ptr, this->section,
|
||||
rcuh_kind::COMPILE);
|
||||
|
||||
m_header_read_in = true;
|
||||
}
|
||||
|
||||
return &m_header;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue