config/config.in
author Johannes Stezenbach <js@sig21.net>
Tue Oct 30 00:22:25 2012 +0000 (2012-10-30)
changeset 3097 5c67476c7342
parent 2481 30644208c955
child 3313 ad14212ebf54
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@2481
     1
source "config/configure.in"
yann@1870
     2
source "config/backend.in"
yann@1870
     3
source "config/global.in"
yann@1870
     4
source "config/target.in"
yann@1870
     5
source "config/toolchain.in"
yann@1870
     6
source "config/kernel.in"
yann@1870
     7
source "config/binutils.in"
yann@1870
     8
source "config/cc.in"
yann@1870
     9
source "config/libc.in"
yann@1870
    10
source "config/debug.in"
yann@1870
    11
source "config/companion_libs.in"
yann@1870
    12
source "config/companion_tools.in"
mgl@1965
    13
source "config/test_suite.in"