]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/debuginfod: Add debuginfod_section_query
authorAaron Merey <amerey@redhat.com>
Mon, 27 Feb 2023 15:33:30 +0000 (10:33 -0500)
committerAaron Merey <amerey@redhat.com>
Tue, 23 May 2023 15:40:07 +0000 (11:40 -0400)
commit255f3197792b98f38067dffeb336166226c178d8
tree22aa11addb13ed1b694bb54c695367a5fc590f27
parent6aebb6e100fb3c5e2acf19f8b0432b3b4fd750e0
gdb/debuginfod: Add debuginfod_section_query

Add new function debuginfod_section_query.  This function queries
debuginfod servers for an individual ELF/DWARF section associated with
a given build-id.

Also check for libdebuginfod version >= 0.188 at configure time.
debuginfod_section_query simply returns -ENOSYS if this condition
is not met.
config/debuginfod.m4
gdb/config.in
gdb/configure
gdb/configure.ac
gdb/debuginfod-support.c
gdb/debuginfod-support.h