From owner-freebsd-questions@FreeBSD.ORG Fri Jan 28 21:23:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CF0F16A4CE for ; Fri, 28 Jan 2005 21:23:31 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95B7343D4C for ; Fri, 28 Jan 2005 21:23:29 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 470CC85669; Sat, 29 Jan 2005 07:53:27 +1030 (CST) Date: Sat, 29 Jan 2005 07:53:27 +1030 From: Greg 'groggy' Lehey To: John Message-ID: <20050128212327.GP76133@wantadilla.lemis.com> References: <20050127223905.A26395@starfire.mn.org> <20050128065016.GC1559@gothmog.gr> <20050127223905.A26395@starfire.mn.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pVdNWoWUH9QCMJqq" Content-Disposition: inline In-Reply-To: <20050128065016.GC1559@gothmog.gr> <20050127223905.A26395@starfire.mn.org> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-questions@freebsd.org Subject: Re: DDB? Debugging kernel? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 21:23:31 -0000 --pVdNWoWUH9QCMJqq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thursday, 27 January 2005 at 22:39:05 -0600, John wrote: > OK, folks - I've looked in the Handbook, and I've looked in > _The Complete FreeBSD_ and I just get more confused. > > Is the option DDB gone?=20 In -CURRENT, yes. > If so, how do you get ddb functions like db_readline into the > kernel? _The Complete FreeBSD_ still describes it, but the handbook > doesn't mention it, and a "grep -i ddb *" in the conf directory > comes up empty. As Giorgos says, with KDB--*if* you're using -CURRENT.. But first we need to know what version of FreeBSD you're running. If it's -CURRENT, you should be tracking the current@ mailing list and asking questions (after much research :-) there, not here. > The handbook still talkes about "makeoptions DEBUG=3D-g", but there's > no such thing in NOTES or any other file in the conf directory. =46rom the -CURRENT version of /usr/src/sys/i386/conf/GENERIC: makeoptions DEBUG=3D-g # Build kernel with gdb(1) debug symbols > I'm going to try putting in the "makeoptions DEBUG=3D-g", though it > may do nothing. I'm a little confused where you got a configuration file that doesn't already contain it. > The NOTES file also includes a somewhat cryptic remark about the > intel acpi code: > > ... (Note that the Intel code must also have USE_DEBUGGER > # defined when it is built). > > I tried making that a kernel option, but config says it is not > defined. This looks like something to do with building the ACPI code, not the kernel itself. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. --pVdNWoWUH9QCMJqq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB+q1PIubykFB6QiMRAlIcAJ9mIwKnonR0+EJQSQyHCQKOSXDgQwCfQGJv rYVB+rffdThQC33gn3hwhGA= =FVBB -----END PGP SIGNATURE----- --pVdNWoWUH9QCMJqq--