config/companion_libs/ppl.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sat Oct 06 23:48:07 2012 +0200 (2012-10-06)
changeset 3083 3a7b2eee9dcd
parent 2484 d1a8c2ae7946
child 3135 3829050af02a
permissions -rw-r--r--
scripts: add option to start an interactive debug shell

Add an option that, when a command fails:
- starts an interactive shell with the failed command's environment
- attempts re-execution of the failed command, continues, or aborts
at user's whim.

Before starting the debug-shell, the backtrace is printed.
When exiting for an abort, the standard error message is printed.

Based on an idea and a patch from: Johannes Stezenbach <js@sig21.net>
http://sourceware.org/ml/crossgcc/2012-09/msg00144.html

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: integrate in the fault handler]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Johannes Stezenbach <js@sig21.net>
Patchwork-Id: 191571
Patchwork-Id: 191668
     1 # PPL options
     2 
     3 choice
     4     bool
     5     prompt "PPL version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config PPL_V_0_11_2
    10     bool
    11     prompt "0.11.2"
    12     select PPL_0_11
    13 
    14 config PPL_V_0_11_1
    15     bool
    16     prompt "0.11.1"
    17     select PPL_0_11
    18 
    19 config PPL_V_0_11
    20     bool
    21     prompt "0.11"
    22     select PPL_0_11
    23 
    24 config PPL_V_0_10_2
    25     bool
    26     prompt "0.10.2"
    27 
    28 endchoice
    29 
    30 config PPL_VERSION
    31     string
    32 # Don't remove next line
    33 # CT_INSERT_VERSION_STRING_BELOW
    34     default "0.11.2" if PPL_V_0_11_2
    35     default "0.11.1" if PPL_V_0_11_1
    36     default "0.11" if PPL_V_0_11
    37     default "0.10.2" if PPL_V_0_10_2
    38 
    39 # For PPL 0.11, we need to pull libpwl if configured static
    40 config PPL_0_11
    41     bool
    42     select PPL_NEEDS_LIBPWL if ! COMPLIBS_SHARED
    43 
    44 config PPL_NEEDS_LIBPWL
    45     bool