config/debug/ltrace.in
author Bart vdr. Meulen <bartvdrmeulen@gmail.com>
Sun Aug 02 16:45:43 2009 +0200 (2009-08-02)
changeset 1434 7e7290acccc1
parent 1036 06aecfa2c355
child 1437 b37804bfeba6
permissions -rw-r--r--
fix wrapper script for symlinks

The wrapper script placed around the target binaries when
using the companion libraries does not work for symbolic links
The wrapper scripts needs to follow the links before calling the
actual binary

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>

---
     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 
    15 config LTRACE_V_0_4
    16     bool
    17     prompt "0.4"
    18 
    19 config LTRACE_V_0_5
    20     bool
    21     prompt "0.5"
    22 
    23 config LTRACE_V_0_5_1
    24     bool
    25     prompt "0.5.1  (EXPERIMENTAL)"
    26     depends on EXPERIMENTAL
    27 
    28 # CT_INSERT_VERSION_ABOVE
    29 # Don't remove above line!
    30 endchoice
    31 
    32 config LTRACE_VERSION
    33     string
    34     default "0.4" if LTRACE_V_0_4
    35     default "0.5" if LTRACE_V_0_5
    36     default "0.5.1" if LTRACE_V_0_5_1
    37 # CT_INSERT_VERSION_STRING_ABOVE
    38 # # Don't remove above line!