> -----Original Message----- > From: openembedded-core@lists.openembedded.org <openembedded- > c...@lists.openembedded.org> On Behalf Of Adrian Freihofer > Sent: den 15 november 2023 23:33 > To: Christopher Larson <kerg...@gmail.com> > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH v8 3/8] image-combined-dbg: make this the > default > > On Wed, 2023-11-15 at 09:26 -0700, Christopher Larson wrote: > > > > Can you explain your issues with gdb with using a rootfs-dbg, because > > I don’t see any problem with a filesystem that only contains debug > > symbols, given how easily gdb can be configured to look into > > alternate paths. I’ll admit I also don’t know the difference between > > these modes, and also wonder how IMAGE_GEN_DEBUGFS relates. > > > > > It simply does not find the symbols if only the rootfs-dbg is > available. If this class > https://git.yoctoproject.org/poky/tree/meta/classes-recipe/image-combined-dbg.bbclass > is added to the build it just works. > > Since this is not too obvious, I wondered if it wouldn't be better if > the combined debugfs were the default behavior. Then Ross asked the > same question and I developed a patch to simplify this. > > But either way, there are too many unanswered questions to change a > well-established default behavior. And there are other ways to deal with it. > Thank you for pointing this out.
For what it's worth, we have local changes that more or less do this (predating image-combined-dbg.bbclass), as we have only seen a use case for the combined debugfs tar ball. So I was rather hoping this would be accepted, so that we can drop our local changes... //Peter
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#190939): https://lists.openembedded.org/g/openembedded-core/message/190939 Mute This Topic: https://lists.openembedded.org/mt/102316026/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-