]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gdb/systemd: enable minidebuginfo support conditionally
authorEtienne Cordonnier <ecordonnier@snap.com>
Tue, 5 Dec 2023 13:37:54 +0000 (14:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Dec 2023 22:55:46 +0000 (22:55 +0000)
commit0d2df803bebfd7e832ab7da54c4dacaaeeb424a9
tree3476c4b15305162dc8424949b093f0a4a5b09d74
parent34835847442c15ebe12970bc31b6a949e66da48e
gdb/systemd: enable minidebuginfo support conditionally

Enabling minidebuginfo is not useful if gdb and systemd-coredump
are unable to parse it.

In order to parse it, gdb needs xz support. Systemd needs coredump enabled, as
well as elfutil enabled as well (systemd-coredump loads libdw which is part of elfutils using dlopen).

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/package.bbclass
meta/lib/oe/package.py
meta/lib/oeqa/runtime/cases/systemd.py
meta/lib/oeqa/selftest/cases/minidebuginfo.py
meta/recipes-core/systemd/systemd_254.4.bb
meta/recipes-devtools/elfutils/elfutils_0.189.bb
meta/recipes-devtools/gdb/gdb-common.inc