diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ChangeLog | 14 | ||||
| -rw-r--r-- | tests/Makefile.am | 1 | ||||
| -rw-r--r-- | tests/backtrace.c | 1 | ||||
| -rw-r--r-- | tests/line2addr.c | 2 |
4 files changed, 17 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 19878ac4..6815028b 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -609,6 +609,13 @@ 2013-12-02 Jan Kratochvil <[email protected]> + Handle T-stopped detach for old kernels. + * backtrace.c: Include sys/syscall.h. + (linux_proc_pid_is_stopped): New function. + (ptrace_detach_stopped): Handle old kernels. + +2013-12-02 Jan Kratochvil <[email protected]> + * Makefile.am (check_PROGRAMS): Add backtrace, backtrace-child, backtrace-data and backtrace-dwarf. (BUILT_SOURCES, clean-local, backtrace-child-biarch): New. @@ -1473,6 +1480,8 @@ 2008-01-21 Roland McGrath <[email protected]> + * line2addr.c (main): Revert last change. + * testfile45.S.bz2: Add tests for cltq, cqto. * testfile45.expect.bz2: Adjust. @@ -2181,6 +2190,11 @@ * Makefile.am (TESTS): Add run-elflint-test.sh. (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2. +2005-05-31 Roland McGrath <[email protected]> + + * Makefile.am (WEXTRA): New variable, substituted by configure. + (AM_CFLAGS): Use it in place of -Wextra. + 2005-05-24 Ulrich Drepper <[email protected]> * get-files.c (main): Use correct format specifier. diff --git a/tests/Makefile.am b/tests/Makefile.am index 55241c7d..43cb9bfe 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -382,6 +382,7 @@ get_lines_LDADD = $(libdw) $(libelf) get_files_LDADD = $(libdw) $(libelf) get_aranges_LDADD = $(libdw) $(libelf) allfcts_LDADD = $(libdw) $(libelf) +line2addr_no_Wformat = yes line2addr_LDADD = $(libdw) $(argp_LDADD) addrscopes_LDADD = $(libdw) $(argp_LDADD) funcscopes_LDADD = $(libdw) $(argp_LDADD) diff --git a/tests/backtrace.c b/tests/backtrace.c index abd56ab6..6a7c661f 100644 --- a/tests/backtrace.c +++ b/tests/backtrace.c @@ -36,6 +36,7 @@ #include <fcntl.h> #include <string.h> #include <argp.h> +#include <sys/syscall.h> #include ELFUTILS_HEADER(dwfl) #ifndef __linux__ diff --git a/tests/line2addr.c b/tests/line2addr.c index e0d65d3d..7c171b9b 100644 --- a/tests/line2addr.c +++ b/tests/line2addr.c @@ -124,7 +124,7 @@ main (int argc, char *argv[]) { struct args a = { .arg = argv[cnt] }; - switch (sscanf (a.arg, "%m[^:]:%d", &a.file, &a.line)) + switch (sscanf (a.arg, "%a[^:]:%d", &a.file, &a.line)) { default: case 0: |
