Subject: Re: Getting into the debugger
To: None <M.Drochner@fz-juelich.de>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 01/16/1999 20:39:32
> email@example.com 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 - firstname.lastname@example.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.