]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: remove unnecessary abfd parameter in dwarf2_per_bfd::locate_sections
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 28 Feb 2025 19:27:12 +0000 (14:27 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 3 Mar 2025 20:58:29 +0000 (15:58 -0500)
commit50ca09324ae2132f9bb73324482e4c0f5eaeddd1
tree70f0de8cc1435beb3c6ecd7257cc4846df3f4152
parentb55c841c51fd7a29aabd3af34eae0a200cfe5b93
gdb/dwarf: remove unnecessary abfd parameter in dwarf2_per_bfd::locate_sections

The parameter `abfd` is always the same as `this->obfd`, there is no
need to pass it as a parameter.

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