2009/3/10 vasanth raonaik <vasanth.raon...@gmail.com>:
> Hello Team,
>
> I need to debug init process. I am not able to attach init to gdb and it
> throws
>

That is because init is a system process, which you cannot trace by design
(see ptrace(2)).

$ ps -o flags -p 1
      F
10004200

, where from ps(1):
               P_SYSTEM            0x00200      System proc: no sigs,
stats or swapping

-- 
wbr,
pluknet
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to