The following are the DosDebug PowerPC-specific subcommands:
uDB.Value = DBG_L_PPC /* Debugging level number */
DBG_L_PPC is defined in bsedos.h.
Uses the debug buffer defined in bsedos.h.
PPC_FLOAT_STATE_SIZE is defined in public uKernel release tree in file thread_status.h:
uDB.Value = DBG_CO_PPC /* Coprocessor type identifier */ uDB.Len = PPC_FLOAT_STATE_SIZE /* Size of coprocessor */ /* register context buffer */
#define DBG_CO_PPC 2
Note: Not defined in bsedos.h.
Thread Status Buffer is the same as Intel and is not stored in bsedos.h.
TStat struc unsigned char DbgState : DBG_D_Thawed, DBG_D_Frozen unsigned char TState : DBG_T_Runnable, _Suspended, _Blocked, _CritSec unsigned char TPriority TStat ends
The following are defined in this Guide:
#define DBG_D_Thawed 0 #define DBG_D_Frozen 1
The following are defined in bsedos.h and in this Guide:
#define DBG_T_Runnable 0 #define DBG_T_Suspended 1 #define DBG_T_Blocked 2 #define DBG_T_CritSec 3
uDB.Addr
Scopes
Note: There are two types of Watchpoints:
a.
DBG_C_ATTACH - Debug command:
Parameters:
PID
Note: A DBG_C_Connect does not need to be issued because DBG_C_Attach will perform the connection. Also, because the debugger did not start the task, it will not have a parent/child relationship as in a DBG_C_Connect.
DBG_N_Success
a.
DBG_C_Detach - Debug command.
Parameters:
PID
DBG_N_Success
Note: This is the only call that will normally turn off debugging and resume the specified task. DBG_C_Term will kill the task whether it was connected or attached.