]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: remove unnecessary dwarf2_section_info:::read calls
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 17 Apr 2025 19:37:22 +0000 (15:37 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 20 Apr 2025 05:01:57 +0000 (01:01 -0400)
commit1150b0389aa91beb93ebb201fbc64802d4670032
tree97307356504e072587663e121eb871687baa3aa5
parentd19cd04bf81f2e312d9bda5d3628a591e0e09438
gdb/dwarf: remove unnecessary dwarf2_section_info:::read calls

The sections would have been read already in
dwarf2_locate_common_dwp_sections or dwarf2_locate_dwo_sections, with
this call:

    dw_sect->read (objfile);

Change-Id: Ice0ed5d9a2070967826a59b2d6f724451ace22f4
Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/read.c