| commit | 52449404c4e38000351e8f2c7b768f12fd808eda | [log] [tgz] |
|---|---|---|
| author | Aaron Merey <amerey@redhat.com> | Fri Apr 08 18:50:56 2022 -0400 |
| committer | Aaron Merey <amerey@redhat.com> | Wed Apr 20 17:40:05 2022 -0400 |
| tree | d26145c93b7c7c15fe93fbc394ccfbc11cec5897 | |
| parent | b750766ac9652def5307925b8fc5c215fbcef8df [diff] |
gdb/debuginfod: Prevent out_of_range exception Trailing whitespace in the string of debuginfod URLs causes an out_of_range exception during the printing of URLs for the first use notice. To fix this, stop printing URLs when the substring to be printed consists only of whitespace. Also add first use notice testcases. Co-Authored-By: Pedro Alves <pedro@palves.net>