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
yann@1283
     1
CT_OBSOLETE=y
yann@962
     2
CT_LOCAL_TARBALLS_DIR="${HOME}/src"
yann@962
     3
CT_SAVE_TARBALLS=y
yann@962
     4
CT_LOG_EXTRA=y
yann@962
     5
CT_ARCH_sh=y
yann@962
     6
CT_ARCH_SH_SH4=y
yann@962
     7
CT_KERNEL_linux=y
yann@2938
     8
CT_KERNEL_V_2_6_27_62=y
yann@2724
     9
CT_BINUTILS_V_2_19_1a=y
yann@1563
    10
CT_CC_V_4_3_2=y
yann@1233
    11
CT_CC_LANG_CXX=y
yann@962
    12
CT_LIBC_glibc=y
yann@2240
    13
CT_LIBC_GLIBC_V_2_9=y
yann@2290
    14
# CT_LIBC_GLIBC_FORCE_UNWIND is not set
yann@1941
    15
CT_GMP_V_4_3_2=y
yann@1841
    16
CT_MPFR_V_2_4_2=y