samples/powerpc-unknown-linux-gnu/crosstool.config
author Johannes Stezenbach <js@sig21.net>
Tue Oct 30 00:22:25 2012 +0000 (2012-10-30)
changeset 3097 5c67476c7342
parent 2953 b0f1b8711716
child 3149 e1611da4bb05
permissions -rw-r--r--
scripts/functions: fix endless loop in debug-shell with IO redirection

CT_DEBUG_INTERACTIVE is disabled when stdin, stdout or
stderr are redirected, but the check is only done at
the start of the build and doesn't catch when individual
build commands use redirection. When stdin is redirected
it will cause the debug shell to exit immediately, causing
and endless loop. Thus, save the stdin/our/err file handles
and restore them before invoking the debug shell.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Message-Id: <20121030102225.GA8303@sig21.net>
Patchwork-Id: 195409
     1 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
     2 CT_SAVE_TARBALLS=y
     3 CT_LOG_EXTRA=y
     4 CT_ARCH_powerpc=y
     5 CT_KERNEL_linux=y
     6 CT_KERNEL_V_2_6_31_14=y
     7 CT_BINUTILS_V_2_19_1a=y
     8 CT_BINUTILS_FOR_TARGET=y
     9 CT_CC_V_4_3_2=y
    10 CT_CC_LANG_FORTRAN=y
    11 CT_CC_LANG_CXX=y
    12 CT_CC_LANG_JAVA=y
    13 CT_LIBC_glibc=y
    14 CT_LIBC_GLIBC_V_2_9=y
    15 # CT_LIBC_GLIBC_FORCE_UNWIND is not set
    16 CT_DEBUG_dmalloc=y
    17 CT_DEBUG_duma=y
    18 CT_DEBUG_gdb=y
    19 CT_GDB_NATIVE=y
    20 CT_DEBUG_strace=y
    21 CT_GMP_V_4_3_2=y
    22 CT_MPFR_V_2_4_2=y