--- wikisrc/kernel_debugging_with_qemu.mdwn 2018/11/09 13:39:26 1.17 +++ wikisrc/kernel_debugging_with_qemu.mdwn 2021/12/24 09:54:15 1.18 @@ -20,7 +20,7 @@ from pkgsrc: If your host system uses a package system other than pkgsrc, use that to install cvs, make, gcc, qemu, the Python pexpect -library, and genisoimage or mkisofs. Also download and +library, and genisoimage or mkisofs. Also download and install the most recent anita package from . @@ -28,13 +28,13 @@ install the most recent anita package fr Check out the NetBSD-current sources from CVS and build a full release of NetBSD-current/i386 with debug symbols using the build.sh script. -The i386 port is preferred because these instructions have been +The i386 port is preferred because these instructions have been successfully tested with it. The amd64 port won't work because of [[PR 50128|http://gnats.NetBSD.org/50128]], and sparc has not been tested since [[qemu bug 1399943|https://bugs.launchpad.net/qemu/+bug/1399943]] was fixed. -If you do the build in a directory other than /usr/src, +If you do the build in a directory other than /usr/src, use the -fdebug-prefix-map option to ensure that the source file names embedded in the debug symbols point to /usr/src, which is where the sources will be installed on the target system. For example: