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

Aaron Merey amerey@redhat.com
Tue Nov 5 01:59:00 GMT 2019


On Mon, Nov 4, 2019 at 11:26 AM Frank Ch. Eigler <fche@redhat.com> wrote:
>
> Hi -
>
> > I haven't followed this thread closely, so it might be an obvious "no", but
> > I was wondering if the library could offer to install a callback that is call
> > relatively often, allowing GDB to interrupt the operation [...]
>
> That could also work, at the cost of extending the API.  Will play with it.
>
> - FChE

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).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debuginfo_and_source_lookups.patch
Type: text/x-patch
Size: 3913 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20191105/f49e83a5/attachment.bin>


More information about the Gdb-patches mailing list