From owner-cvs-all Mon Jun 18 23:25:19 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 6522137B403; Mon, 18 Jun 2001 23:25:14 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id QAA25316; Tue, 19 Jun 2001 16:25:12 +1000 Date: Tue, 19 Jun 2001 16:23:22 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: John Baldwin Cc: Poul-Henning Kamp , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 db_trace.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 18 Jun 2001, John Baldwin wrote: > On 18-Jun-01 Poul-Henning Kamp wrote: > > Can we also please try to find some code to print a symbolic (preferably) > > or numeric traceback on panic, even if DDB is not in the kernel ? > > Well, you would just need to always compile db_trace.o into the kernel, and > then you would need to call it in the !DDB case in panic(). However, that is > quite ddb specific, so people using other kernel debuggers might object. Hopefully db_trace.c is modular enough to use independently of other kernel debuggers. db_disasm.c should be used too (to print the faulting instruction in trap_fatal()). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message