Re: [RFC PATCH] Support debuginfo and source file fetching via debuginfo server

Simon Marchi
2019-11-05T05:35:35Z

On 2019-11-04 8:59 p.m., Aaron Merey wrote:
> Attached is the updated debuginfo and source lookup code, using the
> callback idea that Simon suggested. Downloads are now cancelled upon
> SIGINT and the callback can be modified with code that prints progress
> messages (the a and b parameters in the callback represent the
> numerator and denominator of the download's completion fraction).

I took a peek at the debuginfod code and have one quick suggestion. It would
help to understand what is what if the debuginfod was subdivided in "client" and
"server" directories, and perhaps a "common" directory, if there's any code
to share between them.

Simon