[20080915]
|
Debugging NetBSD kernel with qemu
Alexander Shishkin has written some
posted
instructions on how to debug a NetBSD kernel running
in qemu with gdb. He reminds how to build NetBSD,
provides a shell script for making a bootable disk,
and explains the magic on how to run qemu and connect
gdb to it. An example session shows how to load the
kernel, set a breakpoint, and examine registers and
variables when the breakpoint is reached.
[Tags: debugging, gdb, qemu]
|
|