Debugging init process.
vasanth raonaik
vasanth.raonaik at gmail.com
Tue Mar 10 10:26:29 PDT 2009
Hello Team,
I need to debug init process. I am not able to attach init to gdb and it
throws
GNU gdb 6.5 [juniper_2006a_411]
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-specifix.com-freebsd"...
(gdb) attach 1
Attaching to program: /var/tmp/abhi/init, process 1
ptrace: Invalid argument.
(gdb)
Can any one help me out in debugging init step execution.
Thanks in advance,
Vasanth
More information about the freebsd-hackers
mailing list