Subject: DDB techniques
To: None <port-macppc@netbsd.org>
From: Tim Kelly <hockey@dialectronics.com>
List: port-macppc
Date: 11/11/2004 21:37:17
Might as well start a new thread :-)

According to man ddb and systcl hw.cnmagic, the magic keyboard code is
\x27\x02, which according to /usr/include/macppc/keyboard.h is '\' 'd',
if I am interpreting this correctly. However, this does not appear to
drop me into ddb. I checked ddb.onpanic and it is 1, so either I'm not
holding the keys down properly, these aren't the right keys, or this
isn't wired. How do I drop into ddb?

Second, once I'm in, how do I get back out? With MacsBug, one could type
"g" or "go" and return to where the debugger was called, from either the
keyboard or within the code.

thanks in advance,
tim