From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27698 invoked by alias); 24 Jul 2013 23:00:40 -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 27671 invoked by uid 89); 24 Jul 2013 23:00:39 -0000 X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RDNS_NONE,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mailrelay001.isp.belgacom.be) (195.238.6.51) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 24 Jul 2013 23:00:12 +0000 X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=TVAeEZsMflEN/Gl6LVQhGIMIvPmivZZxTpw3qWPxQr8= c=1 sm=2 a=Ti7gA4zcraYA:10 a=IkcTkHD0fZMA:10 a=l7GSjjSgxsNaRuo7lmwA:9 a=QEXdDO2ut3YA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAOBa8FFtgaCf/2dsb2JhbAANTocUt2GCfYEsgxgBAQEDASNWBQsLDgoCAiYCAlcGiB2nT3SRT4EojlUHgl+BIQOsQg Received: from 159.160-129-109.adsl-dyn.isp.belgacom.be (HELO [192.168.1.3]) ([109.129.160.159]) by relay.skynet.be with ESMTP; 25 Jul 2013 01:00:03 +0200 Subject: Re: remote packet size for memory read From: Philippe Waroquiers To: Pedro Alves Cc: Christian Groessler , gdb@sourceware.org In-Reply-To: <51D6D745.4040505@redhat.com> References: <51D29213.2050801@groessler.org> <51D292E7.9040900@groessler.org> <51D6D745.4040505@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 24 Jul 2013 23:00:00 -0000 Message-ID: <1374706819.3495.12.camel@soleil> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-07/txt/msg00093.txt.bz2 On Fri, 2013-07-05 at 15:25 +0100, Pedro Alves wrote: > On 07/02/2013 09:44 AM, Christian Groessler wrote: > > I haven't analyzed the issue thoroughly, but it's quite plausible > you're right. Problem of GDB asking to read packetsize/2 has also be detected with the Valgrind gdbserver, which expects that nr_bytes_requested_in_m_packet*2 + 4 <= packetsize but GDB only guarantees nr_bytes_requested_in_m_packet*2 <= packetsize > If you don't plan on contributing fixes, could you file (separate) bug > reports for these, so they don't get lost? Have these been filed ? Not seen ... > > Thanks,