debuginfod 1/2: client side
authorAaron Merey <amerey@redhat.com>
Mon, 28 Oct 2019 17:29:26 +0000 (13:29 -0400)
committerMark Wielaard <mark@klomp.org>
Fri, 22 Nov 2019 21:49:21 +0000 (22:49 +0100)
commit288f6b199a8b1a60d4fb1f54ca7b883cdd5afca2
treeb7d6a0dbcc0773de051aacdef8947d4adf72c941
parent4bad7d1eada6a0690ab30eed2e5ae42c6fd7dacd
debuginfod 1/2: client side

Introduce the debuginfod/ subdirectory, containing the client for a
new debuginfo-over-http service, in shared-library and command-line
forms.  Two functions in libdwfl make calls into the client library to
fetch elf/dwarf files by buildid, as a fallback.  Instead of normal
dynamic linking (thus pulling in a variety of curl dependencies),
the libdwfl hooks use dlopen/dlsym.  Server & tests coming in patch 2.

Signed-off-by: Aaron Merey <amerey@redhat.com>
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
26 files changed:
ChangeLog
Makefile.am
config/Makefile.am
config/libdebuginfod.pc.in [new file with mode: 0644]
configure.ac
debuginfod/ChangeLog [new file with mode: 0644]
debuginfod/Makefile.am [new file with mode: 0644]
debuginfod/debuginfod-client.c [new file with mode: 0644]
debuginfod/debuginfod-find.c [new file with mode: 0644]
debuginfod/debuginfod.h [new file with mode: 0644]
debuginfod/libdebuginfod.map [new file with mode: 0644]
doc/Makefile.am
doc/debuginfod-find.1 [new file with mode: 0644]
doc/debuginfod_find_debuginfo.3 [new file with mode: 0644]
doc/debuginfod_find_executable.3 [new file with mode: 0644]
doc/debuginfod_find_source.3 [new file with mode: 0644]
libdw/ChangeLog
libdw/Makefile.am
libdwfl/ChangeLog
libdwfl/Makefile.am
libdwfl/dwfl_build_id_find_elf.c
libdwfl/find-debuginfo.c
m4/ChangeLog
m4/Makefile.am
m4/ax_check_compile_flag.m4 [new file with mode: 0644]
m4/ax_cxx_compile_stdcxx.m4 [new file with mode: 0644]