This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Enable GDB handle compressed target.xml returned by GDB stub
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: terry dot guo at arm dot com (Terry Guo)
- Cc: palves at redhat dot com ('Pedro Alves'), jifl at ecoscentric dot com ('Jonathan Larmour'), yao at codesourcery dot com (Yao Qi), gdb-patches at sourceware dot org, tromey at redhat dot com, Richard dot Earnshaw at arm dot com (Richard Earnshaw), Joey dot Ye at arm dot com (Joey Ye)
- Date: Wed, 13 Jun 2012 15:12:30 +0200 (CEST)
- Subject: Re: [RFC] Enable GDB handle compressed target.xml returned by GDB stub
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