Subject: How to enter ddb in my driver
To: 'port-sparc@netbsd.org' <port-sparc@netbsd.org>
From: Steven Grunza <steven.grunza@dgms.com>
List: port-sparc
Date: 07/09/1999 13:44:23
Someone suggested calling Debugger(); however, this is what I get 
during compilation:

root@hw-ss1# make
cc -g -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes 
 -Wpointer-arith -Wno-main -mno-fpu -I. -I../../../../arch 
-I../../../.. -nostdinc -DSUN4C -DRASTERCONSOLE -DLKM -DDIAGNOSTIC 
-DDEBUG -DMAXUSERS=32 -D_KERNEL  -c ../../../../dev/testdata.c
cc1: warnings being treated as errors
../../../../dev/testdata.c: In function `tdread':
../../../../dev/testdata.c:69: warning: implicit declaration of 
function `Debugger'
*** Error code 1

Stop.

What includes does "Debugger" require?  I'm using the following:
#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/fcntl.h>
#include <sys/select.h>
#include <sys/poll.h>
#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/kernel.h>
#include <sys/conf.h>
#include <sys/systm.h>
#include <sys/rnd.h>
#include <sys/vnode.h>
#include <sys/pool.h>
#include <sys/systm.h>  // looking for Debugger() prototype



=======================================================
Steven Grunza				Hardware Engineer
------------------------------------------------------------------  
--------------------------------------------
mailto:grunza@ulticom.com		Ulticom
voice:	(856) 787 - 2759    		1020 Briggs Road
fax:	(856) 866 - 2033			Mt. Laurel, NJ 08054
cubicle:	K6
flames: /dev/null			
------------------------------------------------------------------  
--------------------------------------------
Unix is user friendly, it's just particular about with whom it makes 
friends.