



























<p><a href="https://hachyderm.io/tags/TIL" class="mention hashtag" rel="tag">#<span>TIL</span></a> that you can turn off the newfangled annoying "download stuff from debuginfod.ubuntu.com?" prompt every time <a href="https://hachyderm.io/tags/gdb" class="mention hashtag" rel="tag">#<span>gdb</span></a> runs, by unsetting DEBUGINFOD_URLS in the environment.</p><p>That must have been annoying me ever since Ubuntu 24.04 came out, and I just sighed and said no to the prompt every time.</p><p>But this evening a program of mine hung mysteriously on shutdown, and on investigation that turned out to be because Leak Sanitiser had invoked llvm-symbolizer to print backtraces, which defaults to trying to talk to the Ubuntu debuginfod server, which currently seems to be ill and not answering questions. And llvm-symbolizer's man page mentioned that environment variable, which seems to be what triggers gdb to offer the same feature.</p><p>If I'd known that two years ago I could have avoided two years of that annoying gdb prompt!</p>
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。