From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108846 invoked by alias); 1 Jun 2018 04:36:24 -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 108834 invoked by uid 89); 1 Jun 2018 04:36:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Saw, Hx-languages-length:765, internal-error, 6.6 X-HELO: mail-wr0-f175.google.com Received: from mail-wr0-f175.google.com (HELO mail-wr0-f175.google.com) (209.85.128.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 01 Jun 2018 04:36:22 +0000 Received: by mail-wr0-f175.google.com with SMTP id w7-v6so23021006wrn.6 for ; Thu, 31 May 2018 21:36:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=7mpt/st0B+RzDPp7UKt7PJRj7sS1pAzMyZ4C0rW4vKw=; b=EGYddXnLgxGVlZXyBfeZOPVi8PFTvEzxjRlf83bLTXsT9Td/dFF1BMIEns/IFWi2AU IgC3/IvEW03ohMRsmLR+MrqiJO08SCRUqG2cJPsGqJeAO+KAvqtalao+B2Al36olnnMv ObIaqg5vBlp4uRDbl1frjcLIkGHu3WyTeEX9Luo0zlgbV0U/4izoMZbofZBK6PJqunsd FxDwrvLpWxD+4wTB/GUVoxSTWne6+r9tF2gOmWZM1KOErrXF2Lm6+HbUzkgiWYjJnjor nttTO2xuS/037UnXuaQVwCMEulO51l8S5yLQkaJrNvLY1XvuiD7syPP4uIu8hclrw4q0 +UTg== X-Gm-Message-State: ALKqPweZWt3QOM3sbyfQuNklbHdPIfhHAHqsCIgyYY/PkK5kj0WqF+5J 2cpoInur3vw750VDl7WdABldKQ== X-Google-Smtp-Source: ADUXVKKBNxZxkzkrjxBNjxyJjjO094P8LTFw6pdGBHFnVl34zdUOj+0mTIK6GxCgwp4YBQjRnY/FRQ== X-Received: by 2002:adf:bbcd:: with SMTP id z13-v6mr7543021wrg.183.1527827780249; Thu, 31 May 2018 21:36:20 -0700 (PDT) Received: from [192.168.1.11] ([105.228.14.235]) by smtp.gmail.com with ESMTPSA id 135-v6sm1866059wmx.21.2018.05.31.21.36.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 21:36:19 -0700 (PDT) Message-ID: <1527827775.28838.7.camel@gmail.com> Subject: Re: internal-error: target_xfer_partial: Assertion `*xfered_len > 0' failed From: Christo To: gdb@sourceware.org Cc: christo.crause@gmail.com Date: Fri, 01 Jun 2018 04:36:00 -0000 In-Reply-To: <1527710950.16578.23.camel@gmail.com> References: <1527710950.16578.23.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00000.txt.bz2 On Wed, 2018-05-30 at 22:09 +0200, Christo wrote: > I get this error both on avr-gdb 7.10.1 (Installed by Linux Mint) and gdb 8.0 (which I > compiled > from source).  I don't see this error if I don't load the file with debug info into gdb. Also > no > error if I use gdb 7.0.1 or 6.6 (both also compiled by me). I tested on gdb 8.1 compiled for AVR and still see "Saw new packet start in middle of old one" message, but now gdb seems to ignore the packet error and just continue without the internal error message.  I still would like to know where the problem is so that it can be fixed, else gdb may end up with incomplete information of the flash memory content on the controller.