]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: Add soname to build-id mapping for core files
authorAaron Merey <amerey@redhat.com>
Wed, 2 Mar 2022 23:46:14 +0000 (18:46 -0500)
committerAaron Merey <amerey@redhat.com>
Mon, 21 Mar 2022 18:11:51 +0000 (14:11 -0400)
commit39f53acb410c3e303fb25ff823de57eb316515ca
treebe9ede6479d9008442629295ba7bd685f2ce634f
parentd37e084783a04c63ae137f953ebdb58bb6f7f704
gdb: Add soname to build-id mapping for core files

Since commit aa2d5a422 gdb has been able to read executable and shared
library build-ids within core files.

Expand this functionality so that each core file bfd maintains a map of
soname to build-id for each shared library referenced in the core file.

This feature may be used to verify that gdb has found the correct shared
libraries for core files and to facilitate downloading shared libaries via
debuginfod.
gdb/corelow.c
gdb/linux-tdep.c
gdb/solib.c
gdb/solib.h