Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Doug Gale <doug16k@gmail.com>
To: "J.W. Jagersma" <jwjagersma@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: gdb fails to ack run-length encoded packets
Date: Fri, 16 Feb 2018 21:39:00 -0000	[thread overview]
Message-ID: <CAEfK_45b=rXM5MtEEVECNdk3Zstp7zfPiU0nM=hLUTkG-n7XBg@mail.gmail.com> (raw)
In-Reply-To: <0b73b1ac-de4f-2cde-ba3e-a15814ab9151@gmail.com>

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


  reply	other threads:[~2018-02-16 21:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-16 21:17 J.W. Jagersma
2018-02-16 21:39 ` Doug Gale [this message]
2018-02-16 21:48   ` J.W. Jagersma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEfK_45b=rXM5MtEEVECNdk3Zstp7zfPiU0nM=hLUTkG-n7XBg@mail.gmail.com' \
    --to=doug16k@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=jwjagersma@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox