Date: Sun, 7 Apr 2002 10:13:35 +0100 From: Josef Karthauser <joe@tao.org.uk> To: current@freebsd.org Subject: Kernel debugging - what's the procedure? Message-ID: <20020407091335.GA697@genius.tao.org.uk>
next in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020407091335.GA697>
