[RFC] Enable GDB handle compressed target.xml returned by GDB stub
Ulrich Weigand
uweigand@de.ibm.com
Wed Jun 13 13:12:00 GMT 2012
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
More information about the Gdb-patches
mailing list