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


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,

  1.  GDB sends qSupported with new feature like
"$qSupported:multiprocess+;qRelocInsn;compressedXML+", means GDB
understands compressed xml,
  2.  Stub replies with ";compressedXML+" to GDB,
  3.  GDB sends "$qXfer:features:read:target.xml" as usual,
  4.  Stub replies with compressed xml.

If "compressedXML" doesn't appear in either #1 or #2, send target xml in
plain text as usual.

-- 
Yao (éå)



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