diff options
author | Aaron Merey <amerey@redhat.com> | 2022-03-22 20:01:54 -0400 |
---|---|---|
committer | Aaron Merey <amerey@redhat.com> | 2022-03-24 14:51:22 -0400 |
commit | b0e0d830d98e98de8c57e8f4bee24b31294ea4e1 (patch) | |
tree | 1373905fe439b9cec48471eff92b4adedc45a62d /bfd | |
parent | 8bd59ec1bba9a591eb4f2523acafe98c38fd2f46 (diff) | |
download | binutils-b0e0d830d98e98de8c57e8f4bee24b31294ea4e1.zip binutils-b0e0d830d98e98de8c57e8f4bee24b31294ea4e1.tar.gz binutils-b0e0d830d98e98de8c57e8f4bee24b31294ea4e1.tar.bz2 |
Remove download size from debuginfod progress messages if unavailable
Currently debuginfod progress update messages include the size of
each download:
Downloading 7.5 MB separate debug info for /lib/libxyz.so.0
This value originates from the Content-Length HTTP header of the
transfer. However this header is not guaranteed to be present for
each download. This can happen when debuginfod servers compress files
on-the-fly at the time of transfer. In this case gdb wrongly prints
"-0.00 MB" as the size.
This patch removes download sizes from progress messages when they are
not available. It also removes usage of the progress bar until
a more thorough reworking of progress updating is implemented. [1]
[1] https://sourceware.org/pipermail/gdb-patches/2022-February/185798.html
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions