From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 10 17:26:28 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92019106566B for ; Tue, 10 Mar 2009 17:26:28 +0000 (UTC) (envelope-from vasanth.raonaik@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id 67B1C8FC12 for ; Tue, 10 Mar 2009 17:26:28 +0000 (UTC) (envelope-from vasanth.raonaik@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so2501473rvb.43 for ; Tue, 10 Mar 2009 10:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=tRwqRSb5PC8RZkvcHqrq/Oynu8CEhbOIMKarFzBNug8=; b=k4TcqiDtgeFDtR10fiLSKBwtUaiZGVVyV7NpfwH/iZkxe8J/wh4xP1rdKlfn3Icczy xbe5uQzx1M2xHsITo8mVKBG46U5eUV6U3asmeNbC+tq+w2TCOrP905Bm40LvXXzIDpim QLvNShAXGbH3MMLXcL7aXVAFFQ4c9A18RbdOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MvDQewBBqipF+1tpDE8A+O9d5Dx2zWjZWvzoh9bCJk9A/1sjgJnFyDC7y9qp3M60Hp Rn+3azTWtBU6VA+v4drXkvjVOHxwNq0x+T0miq1UspBS1ZGVepRfrTt9yoNL6P9TCAHo El6ags+lD6EVyn50lDFCvYKQsd9rSQUaMCXX8= MIME-Version: 1.0 Received: by 10.141.36.17 with SMTP id o17mr3816807rvj.261.1236703997328; Tue, 10 Mar 2009 09:53:17 -0700 (PDT) Date: Tue, 10 Mar 2009 22:23:17 +0530 Message-ID: From: vasanth raonaik To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Debugging init process. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 17:26:29 -0000 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