Re: GDB Remote Protocol Extension - Linux VMCOREINFO - Request for Feedback

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
>>>>> Luis Machado via Gdb <[email protected]> writes:

>> To sum up, my specific questions are:
>> 
>> 1. What is the maximum protocol packet size, if any?

> It is hardcoded by gdb, but the remote can also specify that, but...

>> 2. Would this functionality be better implemented in a single "q
>> linux.vmcoreinfo" packet, or as a "qXfer" packet?

> ... we have packets like qXfer that can handle multi-part transfers. So the
> packet size is not a critical concern anymore, and it is best to use this
> newer mechanism, if the usage fits the packet structure.

Agreed, qXfer is the way to go.
If you're adding a new object type, a patch to the manual would be good.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.