diff options
author | Etienne Cordonnier <ecordonnier@snap.com> | 2025-04-10 21:26:31 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-16 17:41:30 +0100 |
commit | 3166e21988d8d4dae7c3918a6e7a41b0f475460c (patch) | |
tree | f29b9b194e74c0ec65ad2b3f17b3e5035ec3bd05 | |
parent | e79bcac3391e8d33ec603a5663ae354a10d8f291 (diff) | |
download | poky-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.inc | 1 |
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" | |||
38 | PACKAGECONFIG[tui] = "--enable-tui,--disable-tui,,ncurses-terminfo-base" | 38 | PACKAGECONFIG[tui] = "--enable-tui,--disable-tui,,ncurses-terminfo-base" |
39 | PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz" | 39 | PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz" |
40 | PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils" | 40 | PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils" |
41 | PACKAGECONFIG[source-highlight] = "--enable-source-highlight,--disable-source-highlight,source-highlight" | ||
41 | 42 | ||
42 | GDBPROPREFIX = "--program-prefix=''" | 43 | GDBPROPREFIX = "--program-prefix=''" |
43 | 44 | ||