On Mon, Nov 4, 2019 at 11:26 AM Frank Ch. Eigler 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).