Here's some relevant strace output:

,----
| (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
`----

Even sid strace doesn't seem to know the PTRACE_ numbers in question :-(

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to