public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 1/2] gdb: add source-highlight PACKAGECONFIG option
@ 2025-04-10 19:26 ecordonnier
  2025-04-10 19:26 ` [PATCH 2/2] source-highlight: re-add recipe ecordonnier
  0 siblings, 1 reply; 7+ messages in thread
From: ecordonnier @ 2025-04-10 19:26 UTC (permalink / raw)
  To: openembedded-core; +Cc: Etienne Cordonnier

From: Etienne Cordonnier <ecordonnier@snap.com>

From gdb documentation:

> There are two ways that highlighting can be done.  First, if
> gdb was linked with the GNU Source Highlight library, then it
> is used.  Otherwise, if gdb was configured with Python
> scripting support, and if the Python Pygments package is available,
> then it will be used.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 meta/recipes-devtools/gdb/gdb-common.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index c0312f0f05c..474cdf65145 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -38,6 +38,7 @@ PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
 PACKAGECONFIG[tui] = "--enable-tui,--disable-tui,,ncurses-terminfo-base"
 PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz"
 PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils"
+PACKAGECONFIG[source-highlight] = "--enable-source-highlight,--disable-source-highlight,source-highlight"
 
 GDBPROPREFIX = "--program-prefix=''"
 
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-04-14  7:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-10 19:26 [PATCH 1/2] gdb: add source-highlight PACKAGECONFIG option ecordonnier
2025-04-10 19:26 ` [PATCH 2/2] source-highlight: re-add recipe ecordonnier
2025-04-10 19:28   ` [OE-core] " Alexander Kanavin
2025-04-10 19:31     ` Etienne Cordonnier
2025-04-10 19:35       ` Alexander Kanavin
2025-04-11  8:16         ` Etienne Cordonnier
     [not found]         ` <183535A78DAC85C5.27206@lists.openembedded.org>
2025-04-14  7:31           ` Etienne Cordonnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox