a question of multi use of ptrace

From: Guy Maurel
Date: Thu Apr 05 2012 - 11:14:23 EST


Hello!

Why isn't it possible to use gdb and strace at the same time on the same process? ie:
gdb --pid 1510
...
strace -p 1510
attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted

Are there any people, any group, any work in progress to make this possible?
--
guy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/