Subject: Re: Getting into the debugger
To: None <>
From: Chris G. Demetriou <>
List: tech-kern
Date: 01/16/1999 20:39:32 writes:

> said:
> > Now all I need is a way to get into the debugger to start the stack
> > trace. Does anyone know how to do this? Basically I need to be able to
> > latch onto the current stack frame so trace can go look at it, and to
> > set up whatever else db_trace_cmd will want. 
> What I'd probably do here is to use the standard breakpoint
> mechanism and define a global variable which is checked
> at the debugger entry point. If set, your stacktrace code could
> run, otherwise the standard prompt.

*chuckle*  I suggested the same thing in private mail.  I called it a
gross hack.  8-)

Chris Demetriou - -
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.