[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/20876] objdump is not aware about the build ID method to f
From: |
doko at debian dot org |
Subject: |
[Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info |
Date: |
Wed, 11 Jan 2017 00:00:56 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20876
--- Comment #2 from Matthias Klose <doko at debian dot org> ---
this doesn't seem to work yet. I now get:
$ readelf -n /bin/ls | grep 'Build ID'
Build ID: 1b1d2d0a5c825e50e07e80595427894ef0af116b
$ strace objdump --disassemble -S /bin/ls 2>&1 | grep debug
open("/bin/.build-id/1b/1d2d0a5c825e50e07e80595427894ef0af116b.debug",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/bin/.debug/.build-id/1b/1d2d0a5c825e50e07e80595427894ef0af116b.debug",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/debug/bin/.build-id/1b/1d2d0a5c825e50e07e80595427894ef0af116b.debug",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/bin/1d2d0a5c825e50e07e80595427894ef0af116b.debug", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/bin/.debug/1d2d0a5c825e50e07e80595427894ef0af116b.debug", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/debug/bin/1d2d0a5c825e50e07e80595427894ef0af116b.debug",
O_RDONLY) = -1 ENOENT (No such file or directory)
the line
open("/usr/lib/debug/bin/.build-id/1b/1d2d0a5c825e50e07e80595427894ef0af116b.debug",
O_RDONLY) = -1 ENOENT (No such file or directory)
looks fine, however the dirname needs to be stripped
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, nickc at redhat dot com, 2017/01/10
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info,
doko at debian dot org <=
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, mark at klomp dot org, 2017/01/11
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, nickc at redhat dot com, 2017/01/11
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, doko at debian dot org, 2017/01/11
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, doko at debian dot org, 2017/01/11
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, nickc at redhat dot com, 2017/01/12
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, doko at debian dot org, 2017/01/12
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, cvs-commit at gcc dot gnu.org, 2017/01/12
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, nickc at redhat dot com, 2017/01/12
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, cvs-commit at gcc dot gnu.org, 2017/01/13
- [Bug binutils/20876] objdump is not aware about the build ID method to find detached debug info, nickc at redhat dot com, 2017/01/13