[ Re: [PATCH] gdb: print size of downloaded debuginfod binary ] On 12/10/20 8:21 PM, Tom Tromey wrote: > Tom> This updated patch fixes both problems, the latter by printing the % > Tom> progress on its own line (which is cleared by a final '\r' after > Tom> reaching 100%, in order not to waste lines on this). > > A long time ago I had patches to show a progress bar when reading DWARF. > > https://sourceware.org/pipermail/gdb-patches/2017-April/139882.html > > Maybe this could be resurrected. > I've occasionally thought of adding this to the TUI as well, say briefly > overwriting the status bar with a progress meter. I've taken a look, and think that this code is more in line with gdb cli setup, so I've reimplemented on top of this. Here is the first patch, adding the progress meter infrastructure factored out from your patch. Thanks, - Tom