manuals: document minidebuginfo
A message that is not in the archive (sent off-list or not yet received): [email protected]
Patch v2: Fixed grammar according to Ulrich's feedback:
s/of 5 to 10%/by 5 to 10%/
Etienne
Quoted 78 lines · Etienne Cordonnier via lists.yoctoproject.org
From: Etienne Cordonnier <[email protected]>
Signed-off-by Etienne Cordonnier <[email protected]>--- documentation/dev-manual/debugging.rst | 15 +++++++++++++++ documentation/ref-manual/features.rst | 3 +++ 2 files changed, 18 insertions(+)documentation/dev-manual/debugging.rst +0
-0@@ -1173,6 +1173,21 @@ To support this kind of debugging, you need do thefollowing:
Consider that this will reduce the application's performance and is recommended only for debugging purposes.documentation/dev-manual/debugging.rst +4
-0+Enabling Minidebuginfo +====================== + +Enabling the DISTRO_FEATURES minidebuginfo adds a compressed ELF section".gnu_debugdata"
+to all binary files, containing only function names, and thus increasing the size of the
+binaries only by 5 to 10%. For comparison, full debug symbols can be 10 times as big as
+a stripped binary, and it is thus not always possible to deploy full debug symbols.documentation/dev-manual/debugging.rst +2
-0+Minidebuginfo data allows, on the one side, to retrieve a call-stack using +gdb (command backtrace) without deploying full debug-symbols to thetarget. It also
+allows to retrieve a symbolicated call-stack when using systemd-coredump to managedocumentation/dev-manual/debugging.rst +3
-0+coredumps (commands "coredumpctl list" and "coredumpctl info"). + +This feature was created by Fedora, seedocumentation/dev-manual/debugging.rst +2
-0+more details. + Other Debugging Tips ====================documentation/ref-manual/features.rst +1
-0@@ -161,6 +161,9 @@ metadata, as extra layers can define their own: - *keyboard:* Include keyboard support (e.g. keymaps will be loaded during boot). +- *minidebuginfo:* Add minimal debug symbols:ref:
(minidebuginfo)<dev-manual/debugging:enabling minidebuginfo>
+ to binary files containing, allowing coredumpctl and gdb to show
symbolicated stack traces.
+
- *multiarch:* Enable building applications with multiple architecture support.--
2.36.1.vfs.0.0-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#4666):
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_docs_message_4666&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=YXeDmFamWpT6qC-yFNYvNIC8dcQgCpj0yktlGvqpuJU1lflqnaJCc47hrcxEtbdf&s=7PlaS4qaGHb1v_X9vINbttbEvcXYCom5eXEQCwKZLDA&e=
Mute This Topic:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_mt_103034540_7048771&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=YXeDmFamWpT6qC-yFNYvNIC8dcQgCpj0yktlGvqpuJU1lflqnaJCc47hrcxEtbdf&s=-s69Se9_govdXJfABjAcyjYfch1dRtFTX3-t-DsOAfU&e=
Group Owner: [email protected] Unsubscribe:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_docs_unsub&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=YXeDmFamWpT6qC-yFNYvNIC8dcQgCpj0yktlGvqpuJU1lflqnaJCc47hrcxEtbdf&s=WPXYi_eDq2Maud3rxLAD1r5pjG3pCDifwZaOYRBJMeM&e=
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-