Re: [RFC] Enable GDB handle compressed target.xml returned by GDB stub

Ulrich Weigand
2012-06-13T13:12:57Z

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