X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EmbeddedPkg%2FLibrary%2FGdbDebugAgent%2FGdbDebugAgent.c;h=80aa4765c0ef768c48d28c96e4415c863caee088;hp=2e67de6f996b77b6c68e81b8c2647a3928ad8a8f;hb=4f0624e87a89afce8408a87997482b383e7ba131;hpb=d0d8a17d4a91ab860f7db69b7fc9eeec240265b9 diff --git a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c index 2e67de6f99..80aa4765c0 100644 --- a/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c +++ b/EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.c @@ -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