Subject: Re: kernel debug
To: Hubert Feyrer <hubert@feyrer.de>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 07/03/2005 20:32:25
--yudcn1FV7Hsu/q59
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jul 03, 2005 at 07:58:13PM +0200, Hubert Feyrer wrote:
> On Sun, 3 Jul 2005, Jens Gran wrote:
> >Every time when I made changes I have to reboot and then test,
> >it take too much time.
> >More easy was compile kernel and load it with emulator of computer.
>=20
> Yes, and what is the question?
> Use ddb etc. inside qemu etc. like you would with a real machine.

Actually, you can use gdb as a remote debugger with qemu (option -s).
While it doesn't always work as you'd expect, it's very convenient
for live debugging.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--yudcn1FV7Hsu/q59
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQsgvOdgoQloHrPnoAQJyIAgAplrhw6dIKI29PwOnn97iK1nU13FQsYrs
weDIAVpJhkWA6ADdKZjaZOaDXX4ocH2qgzV+bntrtYaDwdw0JVNuB3K+iqs5qRLW
zt0tN889AXZP0qPUBYRlTwb0RZ+pUsaQNNe1gBQeSk2wQrijlDJCXQ6rVUOV6Uap
L/+FqAG1FvYkMFbUOtDyeDdjTyQjT6f0SNZ55sgTadbENHeQq6UxE33d/LC61MUM
7Cgql1fzQDpozvR810KKSlVVRWNI2N9Gl/Wfd9RdWnsi6O1RkyRuDdKqlVUAxGpI
h4oYzBPo/WS4B9eUc5dFbglLPAln44n7TnwusTwrHhO1AdVfRR3+fw==
=Dahx
-----END PGP SIGNATURE-----

--yudcn1FV7Hsu/q59--