From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15860 invoked by alias); 13 Jun 2012 13:12:57 -0000 Received: (qmail 15456 invoked by uid 22791); 13 Jun 2012 13:12:55 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e06smtp10.uk.ibm.com (HELO e06smtp10.uk.ibm.com) (195.75.94.106) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Jun 2012 13:12:42 +0000 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Jun 2012 14:12:40 +0100 Received: from d06nrmr1707.portsmouth.uk.ibm.com (9.149.39.225) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 13 Jun 2012 14:12:38 +0100 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q5DDCcPk2498756 for ; Wed, 13 Jun 2012 14:12:38 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q5DDCXoJ028251 for ; Wed, 13 Jun 2012 07:12:37 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id q5DDCUfK028160; Wed, 13 Jun 2012 07:12:31 -0600 Message-Id: <201206131312.q5DDCUfK028160@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 13 Jun 2012 15:12:30 +0200 Subject: Re: [RFC] Enable GDB handle compressed target.xml returned by GDB stub To: terry.guo@arm.com (Terry Guo) Date: Wed, 13 Jun 2012 13:12:00 -0000 From: "Ulrich Weigand" Cc: palves@redhat.com ('Pedro Alves'), jifl@ecoscentric.com ('Jonathan Larmour'), yao@codesourcery.com (Yao Qi), gdb-patches@sourceware.org, tromey@redhat.com, Richard.Earnshaw@arm.com (Richard Earnshaw), Joey.Ye@arm.com (Joey Ye) In-Reply-To: <000201cd4963$5522daf0$ff6890d0$@guo@arm.com> from "Terry Guo" at Jun 13, 2012 08:51:52 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit x-cbid: 12061313-4966-0000-0000-0000029D1452 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/msg00400.txt.bz2 Terry Guo wrote: > Yes, we need to consider xi:includes which means we have to involve a > global state. Not necessarily; the way I had intended my suggestion to work was that GDB always adds ".gz" (or some other suffix if we actually are not compatible with the .gz file format) to *every* file it fetches, not just to the initial target.xml, but also to other files fetched via xi:include statements ... If the compressed version of the file is not available, GDB would then fall back to the original file name (on a file-by-file basis). Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com