From owner-freebsd-doc Tue Jul 11 6:58:37 2000 Delivered-To: freebsd-doc@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 26B1A37B931; Tue, 11 Jul 2000 06:58:26 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 13Byzu-000NlV-00; Tue, 11 Jul 2000 13:18:46 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.15 #1) id 13Byzu-000MxX-00; Tue, 11 Jul 2000 13:18:46 +0100 Date: Tue, 11 Jul 2000 13:18:46 +0100 From: Ben Smithurst To: doc@FreeBSD.org, hackers@FreeBSD.org Subject: small update to handbook about debug kernels Message-ID: <20000711131846.L11000@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="GBuTPvBEOL0MYPgd" Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --GBuTPvBEOL0MYPgd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'd like to commit this shortly. Any objections, either on documentation quality or the technical accuracy? (that's why -hackers is included.) =20 - When the kernel has been built make a copy of it, say + When the kernel has been built, make a copy of it, say kernel.debug, and then run strip - -g on the original. Install the original as normal. You + -g on the original. Install the original as normal. + Note that from FreeBSD 4.0-RELEASE onwards, these two steps are + performed automatically, so you should not execute them yourself. + On all FreeBSD releases, you may also install the unstripped kernel, but symbol table lookup time= for - some programs will drastically increase, and since the whole kernel = is + some programs will drastically increase. With an a.out kernel, + since the whole kernel is loaded entirely at boot time and cannot be swapped out later, several - megabytes of physical memory will be wasted. + megabytes of physical memory will also be wasted. However, this sho= uld not + be a problem for most users, as ELF has been the default format for + kernels since FreeBSD 3.1-RELEASE. =20 --=20 Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D --GBuTPvBEOL0MYPgd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: H9MdXl0TRp7f87qN87CHA8xzVXCGSQ/c iQCVAwUBOWsQpSsPVtiZOS99AQEzXgP+MiCyLJfVhy8M9wtSA1ikGvnZT8NTEPS1 GOWzp0OpdYPhPGZHcgeJYOFry+q7z0YM+QBIz7sr7dnlfJLifdIV7GshJOiuD2S4 F00oPabm918OoZn/8hwREWyD8J1bs4vFEDoT9b+6jjPAfmu376x6GGgJwzSkeFcf G5cWm9W5ppk= =uPZk -----END PGP SIGNATURE----- --GBuTPvBEOL0MYPgd-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message