DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

call_demon(D3)


call_demon -- invoke current kernel debugger

Synopsis

   #include <sys/types.h>
   #include <sys/ddi.h>
   

void call_demon(void)

Description

The call_demon( ) function invokes the current kernel debugger, if present. Upon exit from the kernel debugger, call_demon( ) returns to its caller. If no kernel debugger is currently configured, call_demon( ) returns immediately.

Arguments

None

Return values

Usage

call_demon( ) is used for testing and debugging purposes and should usually be called conditionally, based on a tunable variable or flag that is set with the kernel debugger and defaults to ``off''.

Context and synchronization

All contexts. context in HDK Technical Reference

Hardware applicability

All

Version applicability

ddi: 8, 8mp

References

ASSERT(D3), kdb

``Using SCODB on SVR5'' in Developing device drivers

``Driver testing and debugging'' in Developing device drivers


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005