# HG changeset patch # User "Benoît THÉBAUDEAU" # Date 1306347828 -7200 # Node ID cc285cc98e652c5789490c401aba632e02e53f14 # Parent 92b6f966626df7b5b822be7acac7952830c59767 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" (transplanted from 7690196856ce4a4700d1887cc3adf80acc627c52) diff -r 92b6f966626d -r cc285cc98e65 scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh Sat May 21 01:10:10 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[@]}"