samples/sh4-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 3175 efad82bf7b9b
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_OBSOLETE=y
     2 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
     3 CT_SAVE_TARBALLS=y
     4 CT_LOG_EXTRA=y
     5 CT_ARCH_sh=y
     6 CT_ARCH_SH_SH4=y
     7 CT_KERNEL_linux=y
     8 CT_KERNEL_V_2_6_27_62=y
     9 CT_BINUTILS_V_2_19_1a=y
    10 CT_CC_V_4_3_2=y
    11 CT_CC_LANG_CXX=y
    12 CT_LIBC_glibc=y
    13 CT_LIBC_GLIBC_V_2_9=y
    14 # CT_LIBC_GLIBC_FORCE_UNWIND is not set
    15 CT_GMP_V_4_3_2=y
    16 CT_MPFR_V_2_4_2=y