From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Dan Callaghan <dan.callaghan@opengear.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] gdb: add PACKAGECONFIG for xz (lzma) compression support
Date: Tue, 21 Jan 2020 00:04:53 +0000 [thread overview]
Message-ID: <193655c483d8c4cab252878fe9c857bd8d609187.camel@linuxfoundation.org> (raw)
In-Reply-To: <20200120234818.13068-1-dan.callaghan@opengear.com>
On Tue, 2020-01-21 at 09:48 +1000, Dan Callaghan wrote:
> Similar to elfutils, when xz support is built into gdb it will be able
> to read xz-compressed ELF sections containing debuginfo. This is used by
> the "mini debuginfo" format:
>
> https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html
> ---
> meta/recipes-devtools/gdb/gdb-common.inc | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
> index 08f615addf..5d670561b0 100644
> --- a/meta/recipes-devtools/gdb/gdb-common.inc
> +++ b/meta/recipes-devtools/gdb/gdb-common.inc
> @@ -21,7 +21,7 @@ EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}"
>
> EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \
> --with-curses --disable-multilib --disable-sim \
> - --without-lzma --without-guile \
> + --without-guile \
> ${GDBPROPREFIX} ${EXPAT} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \
> --disable-rpath \
> @@ -37,6 +37,7 @@ PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python
> PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
> # ncurses is already a hard DEPENDS, but would be added here if it weren't
> PACKAGECONFIG[tui] = "--enable-tui,--disable-tui"
> +PACKAGECONFIG[xz] = "--with-lzma,--without-lzma"
>
> GDBPROPREFIX = "--program-prefix=''"
Is there an extra DEPENDS needed when enabling this?
Cheers,
Richard
next prev parent reply other threads:[~2020-01-21 0:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-20 23:48 [PATCH] gdb: add PACKAGECONFIG for xz (lzma) compression support Dan Callaghan
2020-01-21 0:02 ` ✗ patchtest: failure for " Patchwork
2020-01-21 0:04 ` Richard Purdie [this message]
2020-01-21 0:19 ` [PATCH] " Dan Callaghan
2020-01-21 1:24 ` [PATCH v2] " Dan Callaghan
2020-11-12 7:40 ` Dan Callaghan
2020-11-12 19:11 ` [OE-core] " Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=193655c483d8c4cab252878fe9c857bd8d609187.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=dan.callaghan@opengear.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox