This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb fails to ack run-length encoded packets
- From: "J.W. Jagersma" <jwjagersma at gmail dot com>
- To: Doug Gale <doug16k at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 16 Feb 2018 22:48:01 +0100
- Subject: Re: gdb fails to ack run-length encoded packets
- Authentication-results: sourceware.org; auth=none
- Openpgp: id=D1694EA4DA1338AF4905293BA5102F469FA45960
- References: <0b73b1ac-de4f-2cde-ba3e-a15814ab9151@gmail.com> <CAEfK_45b=rXM5MtEEVECNdk3Zstp7zfPiU0nM=hLUTkG-n7XBg@mail.gmail.com>
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!