mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Fix some of the damage r17811 did to the GDB stub
svn path=/trunk/; revision=17871
This commit is contained in:
parent
43bdfc834c
commit
30aad7b52a
2 changed files with 5 additions and 6 deletions
|
@ -1068,7 +1068,7 @@ GspSetHwBreakpoint(ULONG BreakpointNumber,
|
|||
}
|
||||
|
||||
|
||||
static BOOL gdb_attached_yet = TRUE;
|
||||
static BOOL gdb_attached_yet = FALSE;
|
||||
/*
|
||||
* This function does all command procesing for interfacing to gdb.
|
||||
*/
|
||||
|
@ -1102,7 +1102,7 @@ KdpGdbEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
|
|||
{
|
||||
GspAccessLocation = NULL;
|
||||
GspMemoryError = TRUE;
|
||||
TrapFrame->Eip += 3;
|
||||
Context->Eip += 3;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1321,8 +1321,7 @@ KdpGdbEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
|
|||
#error Unknown compiler for inline assembler
|
||||
#endif
|
||||
|
||||
KeContextToTrapFrame(Context, NULL, TrapFrame, KernelMode);
|
||||
return ((SigVal == 5) ? (kdContinue) : (kdHandleException));
|
||||
return kdContinue;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1399,7 +1398,7 @@ KdpGdbEnterDebuggerException(PEXCEPTION_RECORD ExceptionRecord,
|
|||
ASSERT(0);
|
||||
}
|
||||
|
||||
return kdDoNotHandleException;
|
||||
return kdContinue;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1242,7 +1242,7 @@ KiDispatchException(PEXCEPTION_RECORD ExceptionRecord,
|
|||
&Context,
|
||||
TrapFrame,
|
||||
TRUE,
|
||||
FALSE);
|
||||
TRUE);
|
||||
|
||||
/* Exit if we're continuing */
|
||||
if (Action == kdContinue) goto Handled;
|
||||
|
|
Loading…
Reference in a new issue