Correct, gbd supports minidebuginfo and can print backtraces using it.

On Thu, Nov 30, 2023 at 6:38 PM Richard Purdie <
[email protected]> wrote:

> On Thu, 2023-11-30 at 09:32 -0800, Khem Raj wrote:
> > On Thu, Nov 30, 2023 at 3:21 AM Richard Purdie
> > <[email protected]> wrote:
> > >
> > > Hi,
> > >
> > > I saw some of this discussion on the systemd-devel list so I'm happy to
> > > see patches to sort out the configuration on our side, thanks!
> > >
> > > On Thu, 2023-11-30 at 12:15 +0100, Etienne Cordonnier via
> lists.openembedded.org wrote:
> > > > Hi all, I sent this patch to start the conversation, but I guess
> > > > PACKAGE_MINIDEBUGINFO may have to be turned into a DISTRO_FEATURES
> > > > before this can be merged.
> > > > I tested this with core-image-sato after enabling systemd in
> > > > local.conf. I then started:
> > > > $ vi
> > > > In other terminal:
> > > > $ kill -SEGV $(pidof vi)
> > > > $ coredumpctl info
> > > >
> > > > Before the patch, I didn't get a call-stack with symbols. After the
> > > > patch, I get a call-stack including function names inside
> > > > busybox.nosuid ("read_key()").
> > > >
> > > > This is a very useful feature for debugging and/or bug reporting, so
> > > > I think it would make sense to make it easy to enable via a
> > > > DISTRO_FEATURES. I was just not sure why MINIDEBUGINFO was not a
> > > > DISTRO_FEATURES in the first place, and whether you would be willing
> > > > to enable systemd-coredump via the MINIDEBUGINFO DISTRO_FEATURES.
> > >
> > > I think we should make minidebuginfo a DISTRO_FEATURE and then key all
> > > the tweaks off that.
> > >
> > > I was looking at your patches and thinking we might want to enable
> > > minidebuginfo in poky or perhaps OE-Core by default too.
> >
> > is it dependent on systemd for coredumpctl or can be use some other tool
> as well
> > for inspection.
>
> binutils and gdb know how to read them too, as long as the right
> configuration is in place (xz support generally) as I understand it.
>
> Cheers,
>
> Richard
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#191564): 
https://lists.openembedded.org/g/openembedded-core/message/191564
Mute This Topic: https://lists.openembedded.org/mt/102891486/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to