RFC: vdso build-id standard location

Andy Lutomirski <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CALCETrW1wArhpuVZTJ-T3etYu9yx9Y2_V9ABcfy40SAfO=YMfQ@mail.gmail.com>
Hi all-

I've proposed a patch to the Linux kernel:

http://lkml.kernel.org/g/a424b189ce3ced85fe1e82d032a20e765e0fe0d3.1403291930.git.luto@amacapital.net

This patch will cause 'make vdso_install' to install build-id symlinks
to /lib/modules/KERNEL_VERSION/vdso/.build-id

The idea is that gdb on Linux platforms could change its default
build-id search path to include that directory and therefore find vdso
debug info for home-built kernels instead of just for Fedora-style
kernel RPMs.

Is this reasonable?  Is it something that can/should be easily added to gdb?

Thanks,
Andy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.