config/libc/none.in
author Johannes Stezenbach <js@sig21.net>
Tue Oct 30 00:22:25 2012 +0000 (2012-10-30)
changeset 3097 5c67476c7342
parent 1591 11460fc587e6
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 # Dummy config file to not use a C library *at all*
     2 
     3 ## depends on BARE_METAL
     4 ##
     5 ## help Do not use a C library.
     6 ## help
     7 ## help This is usefull if your project is self-contained, does not rely on
     8 ## help an external C library, and provides all the necessary bits.
     9 ## help
    10 ## help Most probably usefull to bootloaders, as they generally don't depend
    11 ## help on the C library.
    12 ## help
    13 ## help If unsure: do *not* choose that, and use another option in the choice.