On Sun, 10 Dec 2017 13:43:25 +0100, Richard Shaw wrote: > I pretty much did the same thing with valgrind but the output of your > script is much more concise and easier to read.
Fedora GDB should print the dnf debuginfo-install command. When it does not? It uses a similar script logic internally. $ gdb ./core.24421 ... Missing separate debuginfo for the main executable file Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/f9/9b1ecdd9f6408e76bfe14659e94efa1b79d949 Core was generated by `xclock'. which installs xorg-x11-apps-debuginfo and then: $ gdb ./core.24421 ... Missing separate debuginfo for linux-vdso.so.1 Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/4a/506b85d2f1ffcabd8ae0a5839480ea18930d6e ... Missing separate debuginfos, use: dnf debuginfo-install libxkbfile-1.0.9-6.fc27.x86_64 for example (I have most of the debuginfos already installed, otherwise it would say more of them). Although now in F-27 after: https://fedoraproject.org/wiki/Changes/SubpackageAndSourceDebuginfo the debuginfo-install command installs only *-debuginfo and not the *-debugsource counterpart which is then missing for GDB. That is now a DNF bug I guess. Jan _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org