This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb fails to ack run-length encoded packets


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?
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]