In a recent gdb update, "Missing separate debuginfos" messages started appearing on stderr, rather than on stdout as in previous versions. Fedora 30: $ rpm -q gdb gdb-8.3-3.fc30.x86_64 $ echo 'run' | gdb --args python3 > /dev/null $ Fedora Rawhide: $ rpm -q gdb gdb-8.3.50.20190610-16.fc31.x86_64 $ echo 'run' | gdb --args python3 > /dev/null warning: Unable to open "librpm.so.8" (librpm.so.8: cannot open shared object file: No such file or directory), missing debuginfos notifications will not be displayed Missing separate debuginfo for /usr/bin/python3.7 Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/66/16[…].debug Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2 Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/53/b6[…].debug […] I could not find this mentioned in any changelog, so I'd like to ask: - Is this change intended/reasonable? (If so, I'll need to update Python's tests, which verify Python-GDB integration by examining output) - Is there a way to point stdlog back at stdout?
GDB needed to be rebuilt to use the new librpm.so.9. gdb-8.3.50.20190610-17.fc31 should fix this problem. Please reopen the bug if you still see the issue. Thanks.