On Sun, Nov 01, 2020 at 03:54:36PM -0600, Michael Catanzaro wrote:
Hi,
Since upgrading to Fedora 33, I notice gdb no longer prompts me to
install missing debuginfo packages. Full backtraces contain no
member variables or line numbers and are not very useful for
debugging problems. For example:
(gdb) bt full
#0 0x00007ffff7b65a0f in poll () at /lib64/libc.so.6
#1 0x00007ffff7e7c865 in g_socket_condition_timed_wait () at
/lib64/libgio-2.0.so.0
#2 0x00007ffff7e7d2e3 in g_socket_connect () at /lib64/libgio-2.0.so.0
#3 0x00007ffff7e83ad3 in g_socket_client_connect () at
/lib64/libgio-2.0.so.0
#4 0x00007ffff7e8401b in g_socket_client_connect_to_host () at
/lib64/libgio-2.0.so.0
#5 0x000000000040128b in main ()
In F32 and earlier releases, gdb would print a 'dnf
debuginfo-install' command to use to install all necessary
debuginfo, and that would at least usually work. What has changed?
Yep, I can confirm this, the hint about debuginfo is gone.
After I install appropriate debuginfo packages, the backtrace shows all the details.
So it seems that it's just the hint that is missing.
Zbyszek