]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/symtab.c
Remove compunit_symtab::m_block_line_section
authorTom Tromey <tromey@adacore.com>
Thu, 19 Jan 2023 13:14:49 +0000 (06:14 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 8 Feb 2023 15:20:12 +0000 (08:20 -0700)
commitd401e7bf04c0949dcc5e3d83143b75efc19d5f1e
tree12aa55e8db5685c3dbe19b166db11a19c9e51a56
parent83bad3162d7303b51e2ec9b49cb9e78c72d27aa3
Remove compunit_symtab::m_block_line_section

The previous patch hard-coded SECT_OFF_TEXT into the buildsym code.
After this, it's clear that there is only one caller of
compunit_symtab::set_block_line_section, and it always passes
SECT_OFF_TEXT.  So, remove compunit_symtab::m_block_line_section and
use SECT_OFF_TEXT instead.
gdb/buildsym.c
gdb/dwarf2/loc.c
gdb/gdbtypes.c
gdb/objfiles.c
gdb/symtab.c
gdb/symtab.h