Subject: In search of pointers to driver debugging on SPARC
To: 'port-sparc@netbsd.org' <port-sparc@netbsd.org>
From: Steven Grunza <steven.grunza@dgms.com>
List: port-sparc
Date: 06/21/1999 14:06:39
I've written some code, now it's time to compile and run.  How do I 
watch the fireworks?  I'm guessing some form of gdb for kernel 
debugging ( KGDB options in conf file ) but I don't know how to run 
the kernel debugger once my code drops the system into it.

I'm running headless (no framebuffer) with a serial console on TTYA 
and Ethernet.

I'm assuming I'll have to use the serial console but after that ....

Features of real interest
	- How to drop into debugger before my driver loads
	- Load symbols for my driver
	- Set a breakpoint in my driver
	- Return to OS and automagically drop into debugger when my code is 
called.


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