I have an image that runs in Passive KITL mode. It evens connects to PB
when hitting an exception.
Is it possible to connect to PB again after disconnecting?
When I hit Disconnect, a messge box warns me about disabling KdStub
before disconnecting. However I don't know how to do that.
Looking at the source, I found the following in
\WINCE420\PRIVATE\WINCEOS\COREOS\NK\KERNEL\kwin32.c:
//------------------------------------------------------------------------------
// This function is called when kdstub gets Terminate Message from the
debugger
// It simply reverts back KDTrap, KDUpdateSymbols, KDSanitize, KDReboot
function
// pointers to FAKE functions.
//------------------------------------------------------------------------------
BOOL
KDCleanup(void)
{
g_pKdInit = NULL;
KDTrap = FakeKDTrap;
KDUpdateSymbols = FakeUpdateSymbols;
KDSanitize = FakeKDSanitize;
KDReboot = FakeKDReboot;
return TRUE;
}
Its referenced near:
case DbgKdTerminateApi:
in \WINCE420\PRIVATE\WINCEOS\COREOS\NK\KDSTUB\kdapi.c
Any insight would be great.
Thanks