Package: strace Version: 4.5.20-2.3 Severity: normal Dear Maintainer,
This strace does not work quite right: ,---- | (sid_s390x-dchroot)sbronson@zelenka:~$ strace -e ptrace gdb -batch -ex run -ex bt --args echo foo | --- SIGCHLD (Child exited) @ 0 (0) --- | --- SIGCHLD (Child exited) @ 0 (0) --- | ptrace(PTRACE_CONT, 20354, 0x1, SIG_0) = 0 | --- SIGCHLD (Child exited) @ 0 (0) --- | ptrace(PTRACE_SETOPTIONS, 20354, 0, PTRACE_O_TRACEFORK) = 0 | ptrace(PTRACE_SETOPTIONS, 20355, 0, PTRACE_O_TRACEFORK) = 0 | ptrace(PTRACE_SETOPTIONS, 20355, 0, PTRACE_O_TRACEFORK|PTRACE_O_TRACEVFORKDONE) = 0 | ptrace(PTRACE_CONT, 20355, 0, SIG_0) = 0 | ptrace(PTRACE_GETEVENTMSG, 20355, 0, 0x3ffffc8a998) = 0 | ptrace(PTRACE_KILL, 20356, 0, 0) = 0 | ptrace(PTRACE_KILL, 20355, 0, 0) = 0 | --- SIGCHLD (Child exited) @ 0 (0) --- | ptrace(PTRACE_SETOPTIONS, 20354, 0, PTRACE_O_TRACEFORK|PTRACE_O_TRACEVFORK|PTRACE_O_TRACECLONE|PTRACE_O_TRACEEXEC|PTRACE_O_TRACEVFORKDONE) = 0 | ptrace(PTRACE_SETOPTIONS, 20354, 0, PTRACE_O_TRACESYSGOOD) = 0 | ptrace(PTRACE_SETOPTIONS, 20354, 0, PTRACE_O_TRACESYSGOOD|PTRACE_O_TRACEFORK|PTRACE_O_TRACEVFORK|PTRACE_O_TRACECLONE|PTRACE_O_TRACEEXEC|PTRACE_O_TRACEVFORKDONE) = 0 | ptrace(0x4204 /* PTRACE_??? */, 20354, 0x306, 0x3ffffc8ab58) = 0 | ptrace(0x4204 /* PTRACE_??? */, 20354, 0x307, 0x3ffffc8ab58) = 0 | ptrace(PTRACE_PEEKUSER, 20354, psw_mask, [0x705c00180000000]) = 0 | ptrace(0x5000 /* PTRACE_??? */, 20354, 0x3ffffc8a990, 0x3fffcec4b28) = 0 | ptrace(PTRACE_PEEKUSER, 20354, psw_mask, [0x705c00180000000]) = 0 [ ... ] | ptrace(PTRACE_PEEKUSER, 20354, psw_mask, [0x705c00180000000]) = 0 | ptrace(PTRACE_PEEKTEXT, 20354, 0x80007ef8, [0]) = 0 | ptrace(PTRACE_PEEKUSER, 20354, psw_mask, [0x705c00180000000]) = 0 [ ... ] | ptrace(PTRACE_PEEKUSER, 20354, psw_mask, [0x705c00180000000]) = 0 | ptrace(PTRACE_PEEKTEXT, 20354, 0x80007ef8, [0]) = 0 | ptrace(0x4204 /* PTRACE_??? */, 20354, 0x307, 0x3ffffc8a888) = 0 | ptrace(0x4205 /* PTRACE_??? */, 20354, 0x307, 0x3ffffc8a888) = 0 | ptrace(PTRACE_PEEKTEXT, 20354, 0x3fffdfeb6d0, [0xfddc070707fe0707]) = 0 | ptrace(PTRACE_PEEKTEXT, 20354, 0x3fffdfeb6d0, [0xfddc070707fe0707]) = 0 | ptrace(PTRACE_POKEDATA, 20354, 0x3fffdfeb6d0, 0xfddc070700010707) = 0 | ptrace(PTRACE_CONT, 20354, 0x1, SIG_0) = 0 | --- SIGCHLD (Child exited) @ 0 (0) --- | ptrace(0x5000 /* PTRACE_??? */, 20354, 0x3ffffc8a3e8, 0) = 0 | ptrace(0x5000 /* PTRACE_??? */, 20354, 0x3ffffc8a360, 0x1) = 0 | ptrace(0x5001 /* PTRACE_??? */, 20354, 0x3ffffc8a360, 0x97552608) = -1 EINVAL (Invalid argument) | Couldn't write registers: Invalid argument. | Target is executing. | --- SIGCHLD (Child exited) @ 0 (0) --- | ptrace(PTRACE_KILL, 20354, 0, 0) = 0 | ptrace(PTRACE_KILL, 20354, 0, 0) = -1 ESRCH (No such process) | (sid_s390x-dchroot)sbronson@zelenka:~$ strace -V | strace -- version 4.5.20 `---- As you can see, it didn't quite know all of the PTRACE_ requests. It looks like you might find these listed at, say: http://lxr.free-electrons.com/source/arch/s390/include/uapi/asm/ptrace.h?v=3.12#L392 http://lxr.free-electrons.com/source/include/uapi/linux/ptrace.h?v=3.12#L49 -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: s390x Kernel: Linux 3.2.0-4-s390x (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages strace depends on: ii libc6 2.17-97 strace recommends no packages. strace suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org