Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 1996 17:30:49 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@FreeBSD.org, j@uriah.heep.sax.de
Cc:        dennis@etinc.com
Subject:   Re: Involking DDB
Message-ID:  <199605210730.RAA27339@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> Is there a way to start DDB without a system crash...ie run the kernel in
>> some sort of monitoring mode on demand?

>Several of them.

>...

>Hit the ``hot key'' on the PC keyboard.  This is Ctrl-Alt-ESC by
>default, though i think some syscons keymaps tweak it onto another
>combination (which i forgot).

I thought that Ctrl-PrintScreen was standard and Ctrl-Alt-ESC was the
old-fashioned way :-).  Both are BAD.  The key releases for the shift
keys should be handled by the driver in the debugger, and it isn't
clear how they should be communicated to the standard driver except
of course if the standard driver is abused for the debugger driver.
It's safer to throw the key releases for non-shift keys away.

>...

`Debugger("foo");' in your code.

`asm("int $3")' in your code.

`breakpoint();' in your code.

Your code may be a special lkm for monitoring for interesting events...

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605210730.RAA27339>