]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: remove m_line_header from lnp_state_machine class
authorAndrew Burgess <aburgess@redhat.com>
Wed, 24 Dec 2025 20:24:53 +0000 (20:24 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 6 Jan 2026 10:53:06 +0000 (10:53 +0000)
commit68691f88cfbecf511b2bf575da07366b4d38ccbe
tree60e6bde3b32063190b4839cd4c65fe7ff31b2e4b
parente4d4bb9f71d714f3c2fc1c0ddfa7d1897843e675
gdb/dwarf: remove m_line_header from lnp_state_machine class

Following on from the previous commit, this commit remove
m_line_header from the lnp_state_machine class.  The lnp_state_machine
class already holds m_cu, a dwarf2_cu, and the m_line_header was
always just m_cu->line_header, so instead of holding both of these
separately, lets just hold m_cu, and access the line header through
that.

There should be no user visible changes after this commit.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/line-program.c