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: brobecker at adacore dot com (Joel Brobecker)
- Cc: palves at redhat dot com (Pedro Alves), terry dot guo at arm dot com (Terry Guo), 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)
- Date: Thu, 14 Jun 2012 16:58:12 +0200 (CEST)
- Subject: Re: [RFC] Enable GDB handle compressed target.xml returned by GDB stub
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