# HG changeset patch # User "Benoît THÉBAUDEAU" # Date 1306347828 -7200 # Node ID 7690196856ce4a4700d1887cc3adf80acc627c52 # Parent 62c563f492ecbf3e780c0629e97d668cae8c4b67 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" diff -r 62c563f492ec -r 7690196856ce scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh Tue May 24 14:15:47 2011 +0200 +++ b/scripts/build/debug/300-gdb.sh Wed May 25 20:23:48 2011 +0200 @@ -133,6 +133,7 @@ --target=${CT_TARGET} \ --prefix="${CT_PREFIX_DIR}" \ --with-build-sysroot="${CT_SYSROOT_DIR}" \ + --with-sysroot="${CT_SYSROOT_DIR}" \ --disable-werror \ "${cross_extra_config[@]}"