config/arch/arm.in
author Johannes Stezenbach <js@sig21.net>
Tue Oct 30 00:22:25 2012 +0000 (2012-10-30)
changeset 3097 5c67476c7342
parent 2788 b6faa28e76e0
child 3262 87ad9e82546d
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 # ARM specific configuration file
     2 
     3 ## select ARCH_SUPPORTS_32
     4 ## select ARCH_DEFAULT_32
     5 ## select ARCH_SUPPORTS_BOTH_MMU
     6 ## select ARCH_DEFAULT_HAS_MMU
     7 ## select ARCH_SUPPORTS_BOTH_ENDIAN
     8 ## select ARCH_DEFAULT_LE
     9 ## select ARCH_SUPPORTS_WITH_ARCH
    10 ## select ARCH_SUPPORTS_WITH_CPU
    11 ## select ARCH_SUPPORTS_WITH_TUNE
    12 ## select ARCH_SUPPORTS_WITH_FLOAT
    13 ## select ARCH_SUPPORTS_WITH_FPU
    14 ## select ARCH_SUPPORTS_SOFTFP
    15 ##
    16 ## help The ARM architecture, as defined by:
    17 ## help     http://www.arm.com/