summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-05-25 18:23:48 (GMT)
committerBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-05-25 18:23:48 (GMT)
commit5840c847751df40bc4c503f3649e4da61f55a3e4 (patch)
tree11278fdfc99df7c84ee419c494ff1da28bf732cb
parent17f504fc3073fadc88616ba6e8f125071a3f1551 (diff)
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)
-rw-r--r--scripts/build/debug/300-gdb.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index 261d8a1..a426f4a 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -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[@]}"