GDB Remote Protocol Extension - Linux VMCOREINFO - Request for Feedback
Tom Tromey
tom@tromey.com
Tue Jan 14 17:15:16 GMT 2025
>>>>> Luis Machado via Gdb <gdb@sourceware.org> 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
More information about the Gdb
mailing list