Date: Sat, 27 Sep 1997 08:44:25 +0930 From: Greg Lehey <grog@lemis.com> To: William Bulley <web@merit.edu> Cc: FreeBSD Questions <questions@FreeBSD.org> Subject: Re: disassembler - is there any for FreeBSD Message-ID: <19970927084425.35447@lemis.com> In-Reply-To: <199709261319.JAA07403@ohm.merit.edu>; from William Bulley on Fri, Sep 26, 1997 at 09:19:04AM -0400 References: <19970926192046.62020@lemis.com> <199709261319.JAA07403@ohm.merit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 26, 1997 at 09:19:04AM -0400, William Bulley wrote: > According to Greg Lehey: >> >> gdb and ddb both include one. It would probably be easier to extract >> ddb's one, but last time I looked at it, I gave up due to lack of >> time. It's not completely trivial. > > I have a man page for ddb (2.2-970814-RELENG) but I can't find the > program itself... > > There is no Makefile in /usr/src/sys/ddb so I can't use that to > determine where the ddb debugger ends up. :-( ddb is part of the kernel--it's the kernel debugger. You install it by adding the following lines to the kernel config file: options DDB # # Don't drop into DDB for a panic. Intended for unattended operation # where you may want to drop to DDB from the console, but still want # the machine to recover from a panic # options DDB_UNATTENDED options BREAK_TO_DEBUGGER Then you build a new kernel. The usual way to invoke ddb is to hit CTRL-ALT-ESC. This will suspend the operating system until you return. Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970927084425.35447>