#TIL that you can turn off the newfangled annoying "download stuff from debuginf...

@simontatham@hachyderm.io

#TIL that you can turn off the newfangled annoying "download stuff from debuginfod.ubuntu.com?" prompt every time #gdb runs, by unsetting DEBUGINFOD_URLS in the environment.

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.

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.

If I'd known that two years ago I could have avoided two years of that annoying gdb prompt!