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

Ulrich Weigand
2012-06-14T14:58:38Z

Joel Brobecker wrote:
> > In that perspective, something like the
> > 'try qXfer:features:zread:target.xml first, then
> > qXfer:features:read:target.xml, etc.' alternative sounded attractive.
> > Or should we not bother?
>
> Sounds more attractive indeed.

The reason for suggesting just a different filename was simply
that this can use the existing infrastructure without much change.
On the other hand, :zread not only introduces a new packet type,
but in fact a completely new operation class for qXfer packets.

If this is going to be used just for the one special case, I'm
not sure it is worthwhile to bother with this. If however we
feel that :zread could become useful for other situations
(e.g. other qXfer objects beside qXfer:features), then I certainly
don't object to adding it ...

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com