This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Yao Qi wrote:
> On 06/11/2012 10:42 PM, Jonathan Larmour wrote:
> > It may want some variation on the qSupported "qXfer:features:read"
> > response instead. I'll defer to GDB maintainers in the choice, but perhaps
> > qXfer:features:zread ?
> 
> I'd like GDB keeps using qXfer:features:read:target.xml to fetch the xml
> file, even it is compressed.  We need some changes on qSupported in both
> sides,

That still makes the result of qXfer:features:read:target.xml dependent
on global state ...   Why not simply support compressed files by having
the stub respond to
   qXfer:features:read:target.xml.gz
(etc) if it has a compressed file image?

Optionally we might still add a qSupported feature as you describe;
otherwise GDB might just probe whether the stub knows .gz files.

Bye,
Ulrich

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]