X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmbeddedPkg%2FLibrary%2FGdbDebugAgent%2FIa32%2FProcessor.c;h=f1d7f3f1098a7cbb6ba044dc49884abe07250bae;hp=c5a421c69e658270d20a829797e0dd3874a1cd56;hb=4f0624e87a89afce8408a87997482b383e7ba131;hpb=3402aac7d985bf8a9f9d3c639f3fe93609380513 diff --git a/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c b/EmbeddedPkg/Library/GdbDebugAgent/Ia32/Processor.c old mode 100755 new mode 100644 index c5a421c69e..f1d7f3f109 --- 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; } @@ -922,7 +922,7 @@ RemoveBreakPoint ( function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is responsible to invoke the passing-in function at the end of InitializeDebugAgent(). - If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by + If the parameter Function is not NULL, Debug Agent Library instance will invoke it by passing in the Context to be its parameter. If Function() is NULL, Debug Agent Library instance will return after setup debug