]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: add dwarf2_per_bfd::filename and use it where possible
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 26 Feb 2025 04:24:28 +0000 (23:24 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 28 Feb 2025 19:17:14 +0000 (14:17 -0500)
commitcb9995e8d8fab4e48ba202fe8456e68cc130490a
treefabc739c009568ea8b37f39c71959323f15c8b23
parentc981932fc5c89205ff2c14ff1bf25d32fa7e3b0d
gdb/dwarf: add dwarf2_per_bfd::filename and use it where possible

I noticed we quite often use:

    bfd_get_filename (per_bfd->obfd)

Add a shortcut for that.

Change-Id: I4e33925a481fd44088386510b01936d38e1d7d38
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/dwarf2/dwz.c
gdb/dwarf2/index-cache.c
gdb/dwarf2/read.c
gdb/dwarf2/read.h