mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[KDGDB] Break and ignore when being prompted.
This commit is contained in:
parent
80f8beeeee
commit
10379811c0
1 changed files with 4 additions and 2 deletions
|
@ -378,10 +378,12 @@ KdReceivePacket(
|
|||
|
||||
if (PacketType == PACKET_TYPE_KD_DEBUG_IO)
|
||||
{
|
||||
static BOOLEAN ignore = 0;
|
||||
KDDBGPRINT("Debug prompt.\n");
|
||||
/* HACK ! RtlAssert asks for (boipt), always say "o" --> break once. */
|
||||
/* HACK ! Debug prompt asks for break or ignore. First break, then ignore. */
|
||||
MessageData->Length = 1;
|
||||
MessageData->Buffer[0] = 'o';
|
||||
MessageData->Buffer[0] = ignore ? 'i' : 'b';
|
||||
ignore = !ignore;
|
||||
return KdPacketReceived;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue