From: Daniel J. <dr...@fa...> - 2003-11-18 16:11:02
|
On Tue, Nov 18, 2003 at 09:22:41AM +0100, Michal Ludvig wrote: > On Fri, 14 Nov 2003, Daniel Jacobowitz wrote: > > > On Fri, Nov 14, 2003 at 01:05:03PM +0100, Michal Ludvig wrote: > > > Or is there an easier way to follow forks? (inspecting all syscalls > > > feels like an overkill for this task...) > > > > If you can use recent kernels, take a look at the way I do it at GDB. > > That way it's really easy! Thanks ;-) > > Is there a documentation (or updated manpage for ptrace) somewhere? > There is not a word about ptrace(PTRACE_SETOPTIONS) and all those > PTRACE_O_TRACE* flags in my manpages and it's not too comfortable to use > gdb sources as a reference ;-) No, there is no documentation about any of this anywhere - I recommend the kernel source or the GDB source :) If you want to write something maybe I'll put up a web page about it or something. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer |