diff options
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/debugging.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/documentation/dev-manual/debugging.rst b/documentation/dev-manual/debugging.rst index bd1e716b0b..834eade766 100644 --- a/documentation/dev-manual/debugging.rst +++ b/documentation/dev-manual/debugging.rst | |||
@@ -1173,6 +1173,21 @@ To support this kind of debugging, you need do the following: | |||
1173 | Consider that this will reduce the application's performance and is | 1173 | Consider that this will reduce the application's performance and is |
1174 | recommended only for debugging purposes. | 1174 | recommended only for debugging purposes. |
1175 | 1175 | ||
1176 | Enabling Minidebuginfo | ||
1177 | ====================== | ||
1178 | |||
1179 | Enabling the :term:`DISTRO_FEATURES` minidebuginfo adds a compressed ELF section ``.gnu_debugdata`` | ||
1180 | to all binary files, containing only function names, and thus increasing the size of the | ||
1181 | binaries only by 5 to 10%. For comparison, full debug symbols can be 10 times as big as | ||
1182 | a stripped binary, and it is thus not always possible to deploy full debug symbols. | ||
1183 | Minidebuginfo data allows, on the one side, to retrieve a call-stack using | ||
1184 | GDB (command backtrace) without deploying full debug symbols to the target. It also | ||
1185 | allows to retrieve a symbolicated call-stack when using ``systemd-coredump`` to manage | ||
1186 | coredumps (commands ``coredumpctl list`` and ``coredumpctl info``). | ||
1187 | |||
1188 | This feature was created by Fedora, see https://fedoraproject.org/wiki/Features/MiniDebugInfo for | ||
1189 | more details. | ||
1190 | |||
1176 | Other Debugging Tips | 1191 | Other Debugging Tips |
1177 | ==================== | 1192 | ==================== |
1178 | 1193 | ||