summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEtienne Cordonnier <ecordonnier@snap.com>2025-04-10 21:26:31 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-16 17:41:30 +0100
commit3166e21988d8d4dae7c3918a6e7a41b0f475460c (patch)
treef29b9b194e74c0ec65ad2b3f17b3e5035ec3bd05
parente79bcac3391e8d33ec603a5663ae354a10d8f291 (diff)
downloadpoky-3166e21988d8d4dae7c3918a6e7a41b0f475460c.tar.gz
gdb: add source-highlight PACKAGECONFIG option
>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. (From OE-Core rev: b1106ed570a237f3ab80ba3fedb086c9ec0cb4a8) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index c0312f0f05..474cdf6514 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"
38PACKAGECONFIG[tui] = "--enable-tui,--disable-tui,,ncurses-terminfo-base" 38PACKAGECONFIG[tui] = "--enable-tui,--disable-tui,,ncurses-terminfo-base"
39PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz" 39PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz"
40PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils" 40PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils"
41PACKAGECONFIG[source-highlight] = "--enable-source-highlight,--disable-source-highlight,source-highlight"
41 42
42GDBPROPREFIX = "--program-prefix=''" 43GDBPROPREFIX = "--program-prefix=''"
43 44