mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 07:28:19 +00:00
[NTOS:KD] Remove dead code
This commit is contained in:
parent
95d5b39b57
commit
f5e962ff2e
2 changed files with 0 additions and 39 deletions
|
@ -182,14 +182,6 @@ KdpKdbgInit(
|
|||
|
||||
/* KD ROUTINES ***************************************************************/
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KdpCallGdb(
|
||||
IN PKTRAP_FRAME TrapFrame,
|
||||
IN PEXCEPTION_RECORD ExceptionRecord,
|
||||
IN PCONTEXT Context
|
||||
);
|
||||
|
||||
ULONG
|
||||
NTAPI
|
||||
KdpPrintString(
|
||||
|
|
|
@ -252,37 +252,6 @@ KdpEnterDebuggerException(IN PKTRAP_FRAME TrapFrame,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KdpCallGdb(IN PKTRAP_FRAME TrapFrame,
|
||||
IN PEXCEPTION_RECORD ExceptionRecord,
|
||||
IN PCONTEXT Context)
|
||||
{
|
||||
KD_CONTINUE_TYPE Return = kdDoNotHandleException;
|
||||
|
||||
/* Get out of here if the Debugger isn't connected */
|
||||
if (KdDebuggerNotPresent) return FALSE;
|
||||
|
||||
/* FIXME:
|
||||
* Right now, the GDB wrapper seems to handle exceptions differntly
|
||||
* from KDGB and both are called at different times, while the GDB
|
||||
* one is only called once and that's it. I don't really have the knowledge
|
||||
* to fix the GDB stub, so until then, we'll be using this hack
|
||||
*/
|
||||
if (WrapperInitRoutine)
|
||||
{
|
||||
Return = WrapperTable.KdpExceptionRoutine(ExceptionRecord,
|
||||
Context,
|
||||
TrapFrame);
|
||||
}
|
||||
|
||||
/* Debugger didn't handle it, please handle! */
|
||||
if (Return == kdHandleException) return FALSE;
|
||||
|
||||
/* Debugger handled it */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KdIsThisAKdTrap(IN PEXCEPTION_RECORD ExceptionRecord,
|
||||
|
|
Loading…
Reference in a new issue