* gdb fails to ack run-length encoded packets @ 2018-02-16 21:17 J.W. Jagersma 2018-02-16 21:39 ` Doug Gale 0 siblings, 1 reply; 3+ messages in thread From: J.W. Jagersma @ 2018-02-16 21:17 UTC (permalink / raw) To: gdb In hopes of speeding up my debugging process, I have implemented RLE in my remote stub, as outlined here: https://sourceware.org/gdb/onlinedocs/gdb/Overview.html However gdb fails to acknowledge these packets, and responds with '-' to request a resend, ad infinitum. Is there anything special I need to configure for gdb to recognize RLE packets? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdb fails to ack run-length encoded packets 2018-02-16 21:17 gdb fails to ack run-length encoded packets J.W. Jagersma @ 2018-02-16 21:39 ` Doug Gale 2018-02-16 21:48 ` J.W. Jagersma 0 siblings, 1 reply; 3+ messages in thread From: Doug Gale @ 2018-02-16 21:39 UTC (permalink / raw) To: J.W. Jagersma; +Cc: gdb How do you calculate your checksum? You should checksum the encoded data, not the uncompressed data. On Fri, Feb 16, 2018 at 4:17 PM, J.W. Jagersma <jwjagersma@gmail.com> wrote: > In hopes of speeding up my debugging process, I have implemented RLE in > my remote stub, as outlined here: > https://sourceware.org/gdb/onlinedocs/gdb/Overview.html > However gdb fails to acknowledge these packets, and responds with '-' to > request a resend, ad infinitum. Is there anything special I need to > configure for gdb to recognize RLE packets? > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gdb fails to ack run-length encoded packets 2018-02-16 21:39 ` Doug Gale @ 2018-02-16 21:48 ` J.W. Jagersma 0 siblings, 0 replies; 3+ messages in thread From: J.W. Jagersma @ 2018-02-16 21:48 UTC (permalink / raw) To: Doug Gale; +Cc: gdb On 2018-02-16 22:39, Doug Gale wrote: > How do you calculate your checksum? You should checksum the encoded > data, not the uncompressed data. Ah, that makes sense. You're right, I was still summing the non-encoded data. I changed it just now and got it to work. Thanks! ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-16 21:48 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-02-16 21:17 gdb fails to ack run-length encoded packets J.W. Jagersma 2018-02-16 21:39 ` Doug Gale 2018-02-16 21:48 ` J.W. Jagersma
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox