config/debug/ltrace.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Dec 19 12:44:21 2009 +0100 (2009-12-19)
branch1.5
changeset 1706 5360c810222d
parent 1535 073d351bdcd3
child 1615 50b25816f5bb
permissions -rw-r--r--
scripts: check for, and warn about an unset CT_PREFIX_DIR

The user shall provide a directory to install the toolchain into.
If he/she does not, this is an error, and shall be detected properly,
rather than relying on failure down the road.

Thanks to "Pedro I. Sanchez" <psanchez@colcan.ca> for pointing out
the issue:
http://sourceware.org/ml/crossgcc/2009-12/msg00011.html
(transplanted from e94f4ffddd1d07b3841160db71694cd19fda6b03)
yann@245
     1
# ltrace
yann@245
     2
yann@916
     3
config DEBUG_ltrace
yann@916
     4
    select TOOL_libelf
yann@245
     5
    help
yann@977
     6
      ltrace is a program that simply runs the specified command until it exits.
yann@977
     7
      It intercepts and records the dynamic library calls which are called by
yann@977
     8
      the executed process and the signals which are received by that process.
yann@977
     9
      It can also intercept and print the system calls executed by the program.
yann@245
    10
yann@245
    11
choice
yann@245
    12
    bool
yann@245
    13
    prompt "ltrace version"
yann@1535
    14
# Don't remove next line
yann@1535
    15
# CT_INSERT_VERSION_BELOW
yann@245
    16
yann@1534
    17
config LTRACE_V_0_5_2
yann@245
    18
    bool
yann@1534
    19
    prompt "0.5.2"
yann@1036
    20
yann@1197
    21
config LTRACE_V_0_5_1
yann@1197
    22
    bool
yann@1536
    23
    prompt "0.5.1 (EXPERIMENTAL)"
yann@1197
    24
    depends on EXPERIMENTAL
yann@1197
    25
yann@1534
    26
config LTRACE_V_0_5
yann@1437
    27
    bool
yann@1534
    28
    prompt "0.5"
yann@1534
    29
yann@1534
    30
config LTRACE_V_0_4
yann@1534
    31
    bool
yann@1534
    32
    prompt "0.4"
yann@1437
    33
yann@245
    34
endchoice
yann@245
    35
yann@245
    36
config LTRACE_VERSION
yann@245
    37
    string
yann@1535
    38
# Don't remove next line
yann@1535
    39
# CT_INSERT_VERSION_STRING_BELOW
yann@1534
    40
    default "0.5.2" if LTRACE_V_0_5_2
yann@1534
    41
    default "0.5.1" if LTRACE_V_0_5_1
yann@1534
    42
    default "0.5" if LTRACE_V_0_5
yann@245
    43
    default "0.4" if LTRACE_V_0_4