X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmbeddedPkg%2FLibrary%2FGdbDebugAgent%2FIa32%2FProcessor.c;fp=EmbeddedPkg%2FLibrary%2FGdbDebugAgent%2FIa32%2FProcessor.c;h=d465b21183e73c5ff78d3aff75ae3b08d4ea64a8;hp=c5a421c69e658270d20a829797e0dd3874a1cd56;hb=91c38d4e94c1461f5824b83d3722fe46626aa0d3;hpb=5c670b2119f85bebacd0b1f5c1c84a831ffd5352 diff --git a/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c b/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c index c5a421c69e..d465b21183 100755 --- a/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c +++ b/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c @@ -302,7 +302,7 @@ WriteNthRegister ( // check if this is a valid Register Number if ((RegNumber < 0) || (RegNumber >= sizeof (gRegisterOffsets)/sizeof (UINTN))) { - SendError (GDB_EINVALIDREGNUM); + SendError (GDB_EINVALIDREGNUM); return; } InBufPtr++; // skips the '=' character @@ -330,7 +330,7 @@ WriteGeneralRegisters ( // check to see if the buffer is the right size which is // 1 (for 'G') + 16 (for 16 registers) * 8 ( for 8 hex chars each) = 129 if (AsciiStrLen(InBuffer) != 129) { // 16 regs, 8 hex chars each, and the end '\0' (escape seq) - //Bad message. Message is not the right length + //Bad message. Message is not the right length SendError (GDB_EBADBUFSIZE); return; }