]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: query inferior's filesystem for build-id debug files
authorFabian Kilger <kilger@sec.in.tum.de>
Wed, 11 Jun 2025 20:52:17 +0000 (22:52 +0200)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 17 Jun 2025 20:37:11 +0000 (21:37 +0100)
commit56443763a8304ee7bec3b773f98104c754c5d517
treefe957855e04bacfd00435a9aa2c03252ed9b3255
parentbd389c9515d240f55b117075b43184efdea41287
gdb: query inferior's filesystem for build-id debug files

This fixes a bug related to build-id files with linux namespaces.
Specifically, we expect the debug files to be present inside the container,
thus the container filesystem should be queried if the program is running
inside one.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32956
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/build-id.c