-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
DevProd Build
-
None
-
None
-
None
-
None
-
None
-
None
-
None
https://sourceware.org/gdb/current/onlinedocs/gdb.html/Debuginfod.html#Debuginfod
This will allow it to automatically fetch debug info for system libs when debugging a binary. Unfortunately the build flag defaults to off and we do not explicitly opt-in yet.
It may also be worth teaching evergreen to act as a debuginfod-compatible server to host the mongo debug info for binaries that it builds. Then it will be able to automatically fetch that debug info on demand when needed.
> /opt/mongodbtoolchain/v5/bin/gdb
GNU gdb (GDB) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) set debuginfod enabled on
Support for debuginfod is not compiled into GDB.