From owner-freebsd-current Sun Apr 7 1:14:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 07ED737B41F for ; Sun, 7 Apr 2002 01:14:41 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id 254305B9; Sun, 7 Apr 2002 10:13:36 +0100 (BST) Date: Sun, 7 Apr 2002 10:13:35 +0100 From: Josef Karthauser To: current@freebsd.org Subject: Kernel debugging - what's the procedure? Message-ID: <20020407091335.GA697@genius.tao.org.uk> Mail-Followup-To: Josef Karthauser , current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline What's the current method for debugging kernels? genius# gdb -k /usr/obj/usr/src/sys/GENIUS/kernel.debug 5d079ab35c111057dbbf8f242940bbad.core GNU gdb 4.18 Copyright 1998 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-unknown-freebsd"... IdlePTD at phsyical address 0x004b1000 kernel symbol `dumppcb' not found. Attaching to program: /usr/obj/usr/src/sys/GENIUS/kernel.debug, process 5 ptrace: Invalid argument. (kgdb) quit Is this something I'm doing wrong, or it is a bug somewhere? What's 'dumppcb'? Joe --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjywDb4ACgkQXVIcjOaxUBZnbQCgy+uOwAw9RKS1VpLVOPCuNFzT 5uwAoKXm7P7rZBlMx9KH38CEoWG1skeW =6+Zl -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message