Re: [OE-core] [PATCH v2] gdb: add PACKAGECONFIG for xz (lzma) compression support

2020-11-12 Thread Khem Raj
On Wed, Nov 11, 2020 at 11:40 PM Dan Callaghan via
lists.openembedded.org
 wrote:
>
> Bump... I just noticed this patch was never applied. I have been
> carrying it locally all year and it still applies cleanly. Any issues
> preventing it from being applied?
>

thanks, I think this patch is fine.

> Excerpts from Dan Callaghan's message of 2020-01-21 11:24:12 +10:00:
> > 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
> >
> > Signed-off-by: Dan Callaghan 
> > ---
> >  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..878a03715c 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,xz"
> >
> >  GDBPROPREFIX = "--program-prefix=''"
> >
>
> --
> Dan Callaghan 
> Software Engineer
> Opengear 
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#144529): 
https://lists.openembedded.org/g/openembedded-core/message/144529
Mute This Topic: https://lists.openembedded.org/mt/72392181/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v2] gdb: add PACKAGECONFIG for xz (lzma) compression support

2020-11-11 Thread Dan Callaghan via lists.openembedded.org
Bump... I just noticed this patch was never applied. I have been 
carrying it locally all year and it still applies cleanly. Any issues 
preventing it from being applied?

Excerpts from Dan Callaghan's message of 2020-01-21 11:24:12 +10:00:
> 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
> 
> Signed-off-by: Dan Callaghan 
> ---
>  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..878a03715c 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,xz"
>  
>  GDBPROPREFIX = "--program-prefix=''"
>  

-- 
Dan Callaghan 
Software Engineer
Opengear 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#144494): 
https://lists.openembedded.org/g/openembedded-core/message/144494
Mute This Topic: https://lists.openembedded.org/mt/72392181/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH v2] gdb: add PACKAGECONFIG for xz (lzma) compression support

2020-01-20 Thread Dan Callaghan
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

Signed-off-by: Dan Callaghan 
---
 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..878a03715c 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,xz"
 
 GDBPROPREFIX = "--program-prefix=''"
 
-- 
2.21.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core