From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108088 invoked by alias); 5 Sep 2017 09:49:29 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 108077 invoked by uid 89); 5 Sep 2017 09:49:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:410, H*r:sk:static., HContent-Transfer-Encoding:8bit X-HELO: mail-io0-f182.google.com Received: from mail-io0-f182.google.com (HELO mail-io0-f182.google.com) (209.85.223.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Sep 2017 09:49:23 +0000 Received: by mail-io0-f182.google.com with SMTP id z67so13384048iof.3 for ; Tue, 05 Sep 2017 02:49:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=MZ4uW38hw3cEkkehRrhpw5Wv0HdnAwTmlS1seFPU8lM=; b=pV4RDSIYiVy30Qkv3iVG+6Rkdh9s1JgJO67/rfF1Sf8fyfksCDo4EHU/kHARtaFSvD P03rw2OCfUEioNFf4mGl1o1tfPwy2qq1Py6YRHHc2IubsLbltbavWLjQmB1CNlXd/7f3 R/Ae1AOlmS14pECFajkY9ZDwkVYm4JxbdglFNaYQlPqZ5OCtN2VzsxVBfR5B35GsTzy5 q3Idz7n4J2S2tHgVHRYMEomcRv/TnZHPHm6WT1ZvZgwLnEEcdLX4v7BExZySET45/DR7 Bw8cvkVO9KE5upXdEycfr/uIevH1fVott+EZXapqPbgBe0IeE9u1Cevqbb7oytZ0PvDj ciRw== X-Gm-Message-State: AHPjjUgVn7hOTV4ekMEZO4vGIP0wBSPZSO7AA/BmDVoJ7nkpyEqfScqG 1lzXUu3SVtI0Kg== X-Google-Smtp-Source: ADKCNb7Mi7m0qUsKWPS7xVbBGlg+ENG+qQFP6bqs7x335nws1sCBtxKuqlEvUsRlE5PN618+P1w10g== X-Received: by 10.36.250.5 with SMTP id v5mr3312090ith.24.1504604962103; Tue, 05 Sep 2017 02:49:22 -0700 (PDT) Received: from 1170ee0b50d5 (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id m20sm32983itm.19.2017.09.05.02.49.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Sep 2017 02:49:21 -0700 (PDT) Date: Tue, 05 Sep 2017 09:49:00 -0000 From: Yao Qi To: Simon Marchi Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 1/4] Improve "'g' reply is is to long" error message Message-ID: <20170905094918.GD8425@1170ee0b50d5> References: <1503828934-26404-1-git-send-email-simon.marchi@ericsson.com> <1503828934-26404-2-git-send-email-simon.marchi@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1503828934-26404-2-git-send-email-simon.marchi@ericsson.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00080.txt.bz2 On 17-08-27 12:15:31, Simon Marchi wrote: > ... by adding the expected size, and the received size. I found this > useful when debugging gdbarch/remote issues, since it gives a hint of > what gdb expects and what the remote sent. > > gdb/ChangeLog: > > * remote.c (process_g_packet): Update error message. Patch is good to me. -- Yao (齐尧)