config/debug/ltrace.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 11 23:43:52 2014 +0200 (2014-05-11)
changeset 3320 78af1c99bc6d
parent 3142 6569f6a9060c
permissions -rw-r--r--
scripts/functions: add target_endian_le and target_endian_be

We currently define target_endian_el and target_endian_eb to be the
tuple extension depending on endianness, defined to be respectively
'el' or 'eb' according to the endianness.

Some architecture do not use 'el' or 'eb', but use 'le' or 'be'.

Provide that as well, as two new variables: target_endian_le and
target_endian_be.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cody P Schafer <dev@codyps.com>
yann@245
     1
# ltrace
yann@245
     2
yann@2444
     3
## depends on ! BACKEND
yann@2444
     4
##
yann@2444
     5
## select LIBELF_TARGET
yann@2444
     6
##
yann@2444
     7
## help ltrace is a program that simply runs the specified command until it exits.
yann@2444
     8
## help It intercepts and records the dynamic library calls which are called by
yann@2444
     9
## help the executed process and the signals which are received by that process.
yann@2444
    10
## help It can also intercept and print the system calls executed by the program.
yann@245
    11
yann@245
    12
choice
yann@245
    13
    bool
yann@245
    14
    prompt "ltrace version"
yann@1535
    15
# Don't remove next line
yann@1535
    16
# CT_INSERT_VERSION_BELOW
yann@245
    17
netzimme@3289
    18
config LTRACE_V_0_7_3
netzimme@3289
    19
    bool
netzimme@3289
    20
    prompt "0.7.3"
netzimme@3289
    21
jocke@1685
    22
config LTRACE_V_0_5_3
jocke@1685
    23
    bool
yann@1786
    24
    prompt "0.5.3"
jocke@1685
    25
    select LTRACE_0_5_3_or_later
jocke@1685
    26
yann@1534
    27
config LTRACE_V_0_5_2
yann@245
    28
    bool
yann@1534
    29
    prompt "0.5.2"
yann@1036
    30
yann@245
    31
endchoice
yann@245
    32
yann@245
    33
config LTRACE_VERSION
yann@245
    34
    string
yann@1535
    35
# Don't remove next line
yann@1535
    36
# CT_INSERT_VERSION_STRING_BELOW
netzimme@3289
    37
    default "0.7.3" if LTRACE_V_0_7_3
jocke@1685
    38
    default "0.5.3" if LTRACE_V_0_5_3
yann@1534
    39
    default "0.5.2" if LTRACE_V_0_5_2
jocke@1685
    40
jocke@1685
    41
config LTRACE_0_5_3_or_later
jocke@1685
    42
    bool