When looking for debuginfo of a binary, check if gdb or some other debuginfod client downloaded it already.
The debug symbol files will be downloaded on-the-fly during your debugging session, and will be saved locally inside the $XDG_CACHE_HOME/.debuginfod_client/ directory. If $XDG_CACHE_HOME is empty, then ~/.cache/debuginfod_client is used instead.
Reading symbols from /home/ubuntu/.cache/debuginfod_client/c0fbda15a807f880e9d0b2dcc635eeeb1f0f728e/debuginfo...
The info path can be controlled by the DEBUGINFOD_CACHE_PATH environment variable. Maybe we should consider downloading the debuginfo into that cache directory ourselves so other tools can reuse them too.