Kernel Debugging

David W. Berry dwb at archer.apple.com
Fri Feb 2 08:12:22 AEST 1990


In article <3138 at trantor.harris-atd.com> wdavis at x102c.harris-atd.com (davis william 26373) writes:
>I have a co-processor card and a device driver for it for A/UX.
>I am trying to debug the card (purchased) and driver (written
>by me).  I am looking for something like kdb that can be used
>to poke around after a kernel panic.  I am trying to debug a random
>kernel panic and cannot get enough information from the short
>message that panic prints out to the console.  Interrupts
>can still occur because tracing in the driver indicates
>this (when I build tracing in).  Has anyone out there done
>this?  Where is 'kdb' that is in other versions of Unix.
>There is a file that can be built into the kernel for a
>'debugger' driver.  Does anyone know how to activate this?
>Thanks for any help.
	As you have guessed, debugger is a module which can be
configured into the kernel via "newunix debugger"

	Once installed, it is activated by pressing the interrupt switch on
the side of your mac.  Output and input is via the modem port, (or maybe it's
the printer port, but I don't think so)  Typing ? will get you a list of
commands.



More information about the Comp.unix.aux mailing list