On Tue, 4 Feb 2025 at 11:37, Mathieu Othacehe via lists.openembedded.org <[email protected]> wrote: > Add a 'PACKAGE_KEEP_SECTIONS' variable to keep some specific ELF sections > while stripping binaries and libraries. > > That one can then be used to keep the .debug_frame section around for > example, this way: > > PACKAGE_KEEP_SECTIONS = ".debug_frame" > > By using libunwind + minidebuginfo, that provides a way for users to get > debug_frame based backtraces on target.
I don't understand. We already have support and tests for minidebuginfo, so what additional functionality would the above setting enable? Can you adjust the existing tests to showcase that? Adding new variables has a high bar for acceptance, because the need for them must be clearly shown, and they need to be tested and documented too. Also the patch is changing things all over the place, and so is difficult to review. Can you split it up? E.g. first add some new thing, then adjust code elsewhere to take it into use. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#210775): https://lists.openembedded.org/g/openembedded-core/message/210775 Mute This Topic: https://lists.openembedded.org/mt/110989612/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
