From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6516 invoked by alias); 14 Jun 2012 00:53:18 -0000 Received: (qmail 6505 invoked by uid 22791); 14 Jun 2012 00:53:17 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Jun 2012 00:53:02 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Thu, 14 Jun 2012 01:53:00 +0100 Received: from shawin053 ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 14 Jun 2012 01:53:30 +0100 From: "Terry Guo" To: "'Jonathan Larmour'" Cc: "Yao Qi" , , , "Richard Earnshaw" , "'Pedro Alves'" , "Joey Ye" , "Ulrich Weigand" References: <201206121256.q5CCua79003559@d06av02.portsmouth.uk.ibm.com> <4FD76D1D.6080603@eCosCentric.com> <000001cd4907$fd86a1b0$f893e510$@guo@arm.com> <4FD8989A.3020501@eCosCentric.com> In-Reply-To: <4FD8989A.3020501@eCosCentric.com> Subject: RE: [RFC] Enable GDB handle compressed target.xml returned by GDB stub Date: Thu, 14 Jun 2012 00:53:00 -0000 Message-ID: <000301cd49c8$1f15c660$5d415320$@guo@arm.com> MIME-Version: 1.0 X-MC-Unique: 112061401530000201 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 X-SW-Source: 2012-06/txt/msg00454.txt.bz2 > -----Original Message----- > From: Jonathan Larmour [mailto:jifl@ecoscentric.com] > Sent: Wednesday, June 13, 2012 9:42 PM > To: Terry Guo > Cc: Yao Qi; gdb-patches@sourceware.org; tromey@redhat.com; Richard > Earnshaw; 'Pedro Alves'; Joey Ye; Ulrich Weigand > Subject: Re: [RFC] Enable GDB handle compressed target.xml returned by > GDB stub >=20 > On 13/06/12 02:57, Terry Guo wrote: > >> From: Jonathan Larmour [mailto:jifl@ecoscentric.com] > >> > >> For what it's worth, that sounds appealing to me. Strictly Terry's > >> proposal wasn't a .true gz file but a gzipped stream. But that's > >> easy to avoid if we just choose to use the name convention > >> target.xmlz or suchlike. > > > > I am kind of lost on "gz file". Do you mean there is a real gz file > and the > > stub will do following things to response host gdb request? > > > > 1. stub open the real gz file and read it into buffer. > > 2. stub transmit the buffer to host gdb. > > 3. stub close the file >=20 > No I thought in your initial message you were proposing a zlib > compressed > stream, rather than a .gz file (which includes the gz file > header/footer). > I think that proposal is better because it's true that the only things > really needed are the zlib compressed stream and the length. No .gz > files > would be involved at all. So calling it target.xml.gz would be > misleading > since it wouldn't contain the gzip header/footer required to make it a > true .gz format file. >=20 Great. Then we are on the same page now. BR, Terry