From: Etienne Cordonnier Date: Thu, 10 Apr 2025 19:26:31 +0000 (+0200) Subject: gdb: add source-highlight PACKAGECONFIG option X-Git-Tag: uninative-4.8~761 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1106ed570a237f3ab80ba3fedb086c9ec0cb4a8;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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. Signed-off-by: Etienne Cordonnier Signed-off-by: Richard Purdie --- 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=''"