mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +00:00
debug/gdb: fix runtime sysroot
This patch sets the runtime sysroot to fix the following GDB warning: "Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code." The sysroot can later be changed within gdb with the `set sysroot` command if necessary. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
This commit is contained in:
parent
338d4b8b4d
commit
911a3d473e
@ -133,6 +133,7 @@ do_debug_gdb_build() {
|
||||
--target=${CT_TARGET} \
|
||||
--prefix="${CT_PREFIX_DIR}" \
|
||||
--with-build-sysroot="${CT_SYSROOT_DIR}" \
|
||||
--with-sysroot="${CT_SYSROOT_DIR}" \
|
||||
--disable-werror \
|
||||
"${cross_extra_config[@]}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user