diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2018-07-03 19:20:56 +0200 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2018-07-03 21:05:54 +0200 |
commit | 1c2bc07facc5cac4bd7cb87a1579216bb79a7ae1 (patch) | |
tree | 17dddf06628af517f36c3b4adb7448d04fd8bc9c /buildstream/plugins/elements/manual.py | |
parent | 9067e269a9f2866e659ef33a69aad72b01cb6633 (diff) | |
download | buildstream-sam/debug-symbols-location.tar.gz |
Don't strip pathname from debug symbol filessam/debug-symbols-location
When GDB looks for debug symbols it looks for the full path of the file
inside the configured debug-file-directory. For example, if the
debug-file-directory is set to a default of /usr/lib/debug, and you are
debugging /usr/bin/python3, GDB will look for its debug symbols at this
location: /usr/lib/debug/usr/bin/python3.
BuildStream has been putting all debug files inside /usr/lib/debug
under their $(basename), so in the above example GDB would fail to find
any debug symbols for /usr/bin/python3 because they would be in the
incorrect locatoin of /usr/lib/debug/python3.
Diffstat (limited to 'buildstream/plugins/elements/manual.py')
0 files changed, 0 insertions, 0 deletions