From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75562 invoked by alias); 16 Feb 2018 21:39:58 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 75552 invoked by uid 89); 16 Feb 2018 21:39:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:W, jw, H*c:alternative X-HELO: mail-qt0-f175.google.com Received: from mail-qt0-f175.google.com (HELO mail-qt0-f175.google.com) (209.85.216.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 16 Feb 2018 21:39:56 +0000 Received: by mail-qt0-f175.google.com with SMTP id v90so2772908qte.12 for ; Fri, 16 Feb 2018 13:39:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=TlabL1zvTeksfLlmjGYecAcM0GGbVP5AFAy1AkHMBfo=; b=i9hK7fkDe7OgO5nfKUBF7acvtHWErluvAoeVszACyVm+32UbAQbvaqRt+6/AUrKE/2 sljapMMdWZIPkIYKh/+mdFxMnl61bwf+v4b/a2VKQnHcAZO4Ob4xdEg7uu4uxdoSblrM t0nXCIwQ7n1l3TGYu9Zf282vDypMNCJ4RId7rXhZ5+UO1tIS1hCfXM/A8/gfTdaYkCuT XS+qd4Mxx/kfCYeYNtVQE6kKyLK5Ie61xrrqGMcV7PMuf3h+GVnKZl5ir321oku8LIdU jD2K5FDD6hZS27SRnKdTJq5UVjtc7sbdcZV9gklnmbM3umdSbZxTByvBsNR7cyFC/kiJ 8sPg== X-Gm-Message-State: APf1xPA44+lLFcPSrpbtFEGIxiHH2tEawLPBJ6UfWNaHfzs9S/gdhq0Y Y3T4rvIIQkIYHRyiMLXePispE6ZZ1dcHKY1Gwx8= X-Google-Smtp-Source: AH8x226rIjpUsupCj7iHtNYR7kW3OI9i+Jpb0T+e5LzlMNk9mmk1J3enzbEcwxPDfCNt6G29FlOgvtSc/d5VedIBS4A= X-Received: by 10.237.41.35 with SMTP id s32mr6135234qtd.200.1518817194658; Fri, 16 Feb 2018 13:39:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.18.76 with HTTP; Fri, 16 Feb 2018 13:39:54 -0800 (PST) In-Reply-To: <0b73b1ac-de4f-2cde-ba3e-a15814ab9151@gmail.com> References: <0b73b1ac-de4f-2cde-ba3e-a15814ab9151@gmail.com> From: Doug Gale Date: Fri, 16 Feb 2018 21:39:00 -0000 Message-ID: Subject: Re: gdb fails to ack run-length encoded packets To: "J.W. Jagersma" Cc: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00097.txt.bz2 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 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? >