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.
     1 # ltrace
     2 
     3 config DEBUG_ltrace
     4     select TOOL_libelf
     5     help
     6       ltrace is a program that simply runs the specified command until it exits.
     7       It intercepts and records the dynamic library calls which are called by
     8       the executed process and the signals which are received by that process.
     9       It can also intercept and print the system calls executed by the program.
    10 
    11 choice
    12     bool
    13     prompt "ltrace version"
    14 # Don't remove next line
    15 # CT_INSERT_VERSION_BELOW
    16 
    17 config LTRACE_V_0_5_3
    18     bool
    19     prompt "0.5.3 (EXPERIMENTAL)"
    20     depends on EXPERIMENTAL
    21     select LTRACE_0_5_3_or_later
    22 
    23 config LTRACE_V_0_5_2
    24     bool
    25     prompt "0.5.2"
    26 
    27 config LTRACE_V_0_5_1
    28     bool
    29     prompt "0.5.1 (EXPERIMENTAL)"
    30     depends on EXPERIMENTAL
    31 
    32 config LTRACE_V_0_5
    33     bool
    34     prompt "0.5 (OBSOLETE)"
    35     depends on OBSOLETE
    36 
    37 config LTRACE_V_0_4
    38     bool
    39     prompt "0.4 (OBSOLETE)"
    40     depends on OBSOLETE
    41 
    42 endchoice
    43 
    44 config LTRACE_VERSION
    45     string
    46 # Don't remove next line
    47 # CT_INSERT_VERSION_STRING_BELOW
    48     default "0.5.3" if LTRACE_V_0_5_3
    49     default "0.5.2" if LTRACE_V_0_5_2
    50     default "0.5.1" if LTRACE_V_0_5_1
    51     default "0.5" if LTRACE_V_0_5
    52     default "0.4" if LTRACE_V_0_4
    53 
    54 config LTRACE_0_5_3_or_later
    55     bool
    56     default n