summaryrefslogtreecommitdiff
path: root/libelf/abstract.h
diff options
context:
space:
mode:
authorRavi Bangoria <ravi.bangoria@linux.vnet.ibm.com>2016-02-16 21:51:35 +0530
committerMark Wielaard <mjw@redhat.com>2016-02-22 20:46:30 +0100
commit7802e6e57d48189e339b4ab40189eb44d8123559 (patch)
tree9126c9440766f6064f561735497a2bb542b188a4 /libelf/abstract.h
parent134684912cd18e824172b667ba13d1016782f93f (diff)
downloadelfutils-7802e6e57d48189e339b4ab40189eb44d8123559.tar.gz
libdwfl: Check for kernel debuginfo file without .debug extension as well
Elfutils, looking for kernel debuginfo file, tries to find it at various places. If elfutils finds /boot/vmlinu*x* file, it checks for debufginfo section. If debuginfo is not present, it saves it as 'main elf' and continue looking for debuginfo file having .debug extension i.e. vmlinux-RELEASE.debug. 'Ubuntu on powerpc' installs kernel as /boot/vmlinux and installs debuginfo without any extension as /usr/lib/debug/boot/vmlinux-RELEASE and hence, elfutils is not able to find the debuginfo file. Here is the launchpad bug for the same: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1537125 This patch adds functionality to search for a kernel or debuginfo file both with and without .debug extension. Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'libelf/abstract.h')
0 files changed, 0 insertions, 0 deletions