diff options
author | Aaron Merey <amerey@redhat.com> | 2022-03-02 20:00:59 -0500 |
---|---|---|
committer | Aaron Merey <amerey@redhat.com> | 2022-03-21 14:11:57 -0400 |
commit | b91f93a02c9c32e55073c0f18b330a6a9c5cfa34 (patch) | |
tree | 5b8559303a407e81b9f7876da7814b68cb58323a /gdb/python/python.c | |
parent | 39f53acb410c3e303fb25ff823de57eb316515ca (diff) | |
download | binutils-b91f93a02c9c32e55073c0f18b330a6a9c5cfa34.zip binutils-b91f93a02c9c32e55073c0f18b330a6a9c5cfa34.tar.gz binutils-b91f93a02c9c32e55073c0f18b330a6a9c5cfa34.tar.bz2 |
PR gdb/27570: missing support for debuginfod in core_target::build_file_mappings
Add debuginfod support to core_target::build_file_mappings and
locate_exec_from_corefile_build_id to enable the downloading of
missing executables and shared libraries referenced in core files.
Also add debuginfod support to solib_map_sections so that previously
downloaded shared libraries can be retrieved from the local debuginfod
cache.
When core file shared libraries are found locally, verify that their
build-ids match the corresponding build-ids found in the core file.
If there is a mismatch, attempt to query debuginfod for the correct
build and print a warning if unsuccessful:
warning: Build-id of /lib64/libc.so.6 does not match core file.
Also disable debuginfod when gcore invokes gdb. Debuginfo is not
needed for core file generation so debuginfod queries will slow down
gcore unnecessarily.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions