]> sourceware.org Git - systemtap.git/commit
debuginfo lookup with sysroot case do not remove sysroot from file_name
authorVictor Kamensky <kamensky@cisco.com>
Wed, 14 Mar 2018 21:54:08 +0000 (16:54 -0500)
committerDavid Smith <dsmith@redhat.com>
Wed, 14 Mar 2018 21:54:08 +0000 (16:54 -0500)
commitb29e448e12040ed8f4d83743a14db0f138a7cc67
tree9afad46289879a687fbc3b8c2f2655fdc282ab4e
parent072e888f19c26abe9bb3f604149066e9a15f0df3
debuginfo lookup with sysroot case do not remove sysroot from file_name

If sysroot option is passed, and debug symbols reside in sysroot along
with executable <foo> in <foo_dir>/.debug/<foo_file> directory,
stap fails to find debuginfo because it strips out sysroot path
from file_name so dwfl_standard_find_debuginfo ends up looking at
host <foo_dir>/.debug/<foo_file> rather then checking
<sysroot>/<foo_dir>/.debug/<foo_file>.
setupdwfl.cxx
This page took 0.025368 seconds and 5 git commands to generate.