diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-14 11:41:46 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-14 11:50:01 -0600 |
commit | a9f172c6b7a8f81e482568adecbea17860b5577c (patch) | |
tree | 13e14b9594909e2d8b5615f556032aae5bf923ca /gdb/dwarf2 | |
parent | 933721ed0c95b53773b43874baa2ee82236f80b1 (diff) | |
download | binutils-a9f172c6b7a8f81e482568adecbea17860b5577c.zip binutils-a9f172c6b7a8f81e482568adecbea17860b5577c.tar.gz binutils-a9f172c6b7a8f81e482568adecbea17860b5577c.tar.bz2 |
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.
Diffstat (limited to 'gdb/dwarf2')
-rw-r--r-- | gdb/dwarf2/read.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 3b72a96..dcf161f 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -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; |