diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-12-26 11:49:51 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2018-12-26 11:49:51 -0500 |
commit | 50794b45a2a7330fc32b118bff584a3a2e649ac5 (patch) | |
tree | 1ff976fb2cba7808f2ecbfc54bfd167a394f06d8 /bfd/ChangeLog-2015 | |
parent | 5172760036cc706596970b35f106aa5a9093b44b (diff) | |
download | gdb-50794b45a2a7330fc32b118bff584a3a2e649ac5.zip gdb-50794b45a2a7330fc32b118bff584a3a2e649ac5.tar.gz gdb-50794b45a2a7330fc32b118bff584a3a2e649ac5.tar.bz2 |
Improve "set debug separate-debug-file"
"set debug separate-debug-file" shows which candidates are considered,
when trying to find separate debug info. But it's not clear if GDB used
a certain candidate, and if not, why not. This patch adds some
precision:
Before:
Looking for separate debug info (debug link) for /lib/x86_64-linux-gnu/libc.so.6
Trying /lib/x86_64-linux-gnu/libc-2.23.so
Trying /lib/x86_64-linux-gnu/.debug/libc-2.23.so
Trying /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.23.so
After:
Looking for separate debug info (debug link) for /lib/x86_64-linux-gnu/libc.so.6
Trying /lib/x86_64-linux-gnu/libc-2.23.so... no, same file as the objfile.
Trying /lib/x86_64-linux-gnu/.debug/libc-2.23.so... no, unable to open.
Trying /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.23.so... yes!
gdb/ChangeLog:
* build-id.c (build_id_to_debug_bfd): Enhance debug output.
* symfile.c (separate_debug_file_exists): Likewise.
Diffstat (limited to 'bfd/ChangeLog-2015')
0 files changed, 0 insertions, 0 deletions