crosstool-ng/config/debug/ltrace.in
Alexey Neyman 97a20eed5c Disallow duma/ltrace/strace for bionic
Allow cross-gdb and gdbserver. This requires removal of an explicit
check that disables gdbserver on android. However, the comment above
that check refers to exec_elf.h, which has been removed since API level
19. It builds fine with current selection of the sample (21). Only
build-tested, hope someone can give it a try and report back.

We can fine tune the check for GDB but I'll leave it for now.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-05-14 18:49:56 -07:00

41 lines
1.1 KiB
Plaintext

# ltrace
## select LIBELF_TARGET
## depends on ! LIBC_bionic
##
## help ltrace is a program that simply runs the specified command until it exits.
## help It intercepts and records the dynamic library calls which are called by
## help the executed process and the signals which are received by that process.
## help It can also intercept and print the system calls executed by the program.
choice
bool
prompt "ltrace version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW
config LTRACE_V_0_7_3
bool
prompt "0.7.3"
config LTRACE_V_0_5_3
bool
prompt "0.5.3 (OBSOLETE)"
depends on OBSOLETE
select LTRACE_0_5_3_CONFIGURE
endchoice
config LTRACE_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
default "0.7.3" if LTRACE_V_0_7_3
default "0.5.3" if LTRACE_V_0_5_3
# Ltrace 0.5.3 had a unique hand-crafted configure script that has to be
# run differently from any preceding or following releases. This serves
# as a reminder to remove that code once 0.5.3 support is dropped.
config LTRACE_0_5_3_CONFIGURE
bool