mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-02 19:16:39 +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> (transplanted from 7690196856ce4a4700d1887cc3adf80acc627c52)
This commit is contained in:
parent
17f504fc30
commit
5840c84775
@ -133,6 +133,7 @@ do_debug_gdb_build() {
|
|||||||
--target=${CT_TARGET} \
|
--target=${CT_TARGET} \
|
||||||
--prefix="${CT_PREFIX_DIR}" \
|
--prefix="${CT_PREFIX_DIR}" \
|
||||||
--with-build-sysroot="${CT_SYSROOT_DIR}" \
|
--with-build-sysroot="${CT_SYSROOT_DIR}" \
|
||||||
|
--with-sysroot="${CT_SYSROOT_DIR}" \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
"${cross_extra_config[@]}"
|
"${cross_extra_config[@]}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user