X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmbeddedPkg%2FLibrary%2FGdbDebugAgent%2FGdbDebugAgent.c;h=80aa4765c0ef768c48d28c96e4415c863caee088;hp=c8984291d9b2ce4175bc06c77ed822a4530bf271;hb=4f0624e87a89afce8408a87997482b383e7ba131;hpb=3402aac7d985bf8a9f9d3c639f3fe93609380513 diff --git a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c old mode 100755 new mode 100644 index c8984291d9..80aa4765c0 --- a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c +++ b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c @@ -34,8 +34,8 @@ CHAR8 gXferLibraryBuffer[2000]; GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8 mHexToStr[] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'}; -// add-symbol-file c:/work/edk2/Build/BeagleBoard/DEBUG_ARMGCC/ARM/BeagleBoardPkg/Sec/Sec/DEBUG/BeagleBoardSec.dll 0x80008360 -CHAR8 *qXferHack = ""; +// add-symbol-file c:/work/edk2/Build/BeagleBoard/DEBUG_GCC48/ARM/BeagleBoardPkg/Sec/Sec/DEBUG/BeagleBoardSec.dll 0x80008360 +CHAR8 *qXferHack = ""; UINTN gXferObjectReadResponse ( @@ -93,7 +93,7 @@ gXferObjectReadResponse ( 1) Length will generally be max remote packet size (big enough) 2) First Offset of an XML document read needs to be 0 3) This code will return back small chunks of the XML document on every read. - Each subseqent call will ask for the next availble part of the document. + Each subseqent call will ask for the next available part of the document. Note: The only variable size element in the XML is: " \n" and it is @@ -257,7 +257,7 @@ SendPacket ( $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$', the packet teminating character '#' and the two digit checksum. - If host re-starts sending a packet without ending the previous packet, only the last valid packet is proccessed. + If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed. (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.) If an ack '+' is not sent resend the packet