config/debug/ltrace.in
author Joachim Nilsson <jocke@vmlinux.org>
Sun Jan 03 16:46:58 2010 +0100 (2010-01-03)
changeset 1685 ecccce88fc71
parent 1615 50b25816f5bb
child 1786 2323a54034c9
permissions -rw-r--r--
debug/ltrace: Add support for ltrace-0.5.3

From this version of ltrace the maintainer has removed support for
GNU Autotools, so the patch sets needed to be reworked.

Included is the latest Debian patch, by the Debian ltrace maintainer
Juan Cespedes <cespedes@debian.org>, the OpenEmbedded patches for cross
compiling, by Khem Raj <raj.khem@gmail.com> and a further set of patches
by Joachim Nilsson <jocke@vmlinux.org> for crosstool-NG.
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
jocke@1685
    17
config LTRACE_V_0_5_3
jocke@1685
    18
    bool
jocke@1685
    19
    prompt "0.5.3 (EXPERIMENTAL)"
jocke@1685
    20
    depends on EXPERIMENTAL
jocke@1685
    21
    select LTRACE_0_5_3_or_later
jocke@1685
    22
yann@1534
    23
config LTRACE_V_0_5_2
yann@245
    24
    bool
yann@1534
    25
    prompt "0.5.2"
yann@1036
    26
yann@1197
    27
config LTRACE_V_0_5_1
yann@1197
    28
    bool
yann@1536
    29
    prompt "0.5.1 (EXPERIMENTAL)"
yann@1197
    30
    depends on EXPERIMENTAL
yann@1197
    31
yann@1534
    32
config LTRACE_V_0_5
yann@1437
    33
    bool
yann@1615
    34
    prompt "0.5 (OBSOLETE)"
yann@1615
    35
    depends on OBSOLETE
yann@1534
    36
yann@1534
    37
config LTRACE_V_0_4
yann@1534
    38
    bool
yann@1615
    39
    prompt "0.4 (OBSOLETE)"
yann@1615
    40
    depends on OBSOLETE
yann@1437
    41
yann@245
    42
endchoice
yann@245
    43
yann@245
    44
config LTRACE_VERSION
yann@245
    45
    string
yann@1535
    46
# Don't remove next line
yann@1535
    47
# CT_INSERT_VERSION_STRING_BELOW
jocke@1685
    48
    default "0.5.3" if LTRACE_V_0_5_3
yann@1534
    49
    default "0.5.2" if LTRACE_V_0_5_2
yann@1534
    50
    default "0.5.1" if LTRACE_V_0_5_1
yann@1534
    51
    default "0.5" if LTRACE_V_0_5
yann@245
    52
    default "0.4" if LTRACE_V_0_4
jocke@1685
    53
jocke@1685
    54
config LTRACE_0_5_3_or_later
jocke@1685
    55
    bool
jocke@1685
    56
    default n