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)
commit911a3d473e2b27e00d89e50d0514f9ebc3baffbf (patch)
tree4234350e83e4d2a58b1afff435030b06baff6219
parent338d4b8b4dc02afbf7e5204632eeb8110c163890 (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>
-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[@]}"