Re: GDB Remote Protocol Extension - Linux VMCOREINFO - Request for Feedback
Tom Tromey <[email protected]> Fri, 17 Jan 2025 15:01:43 -0700
| Newsgroups | org.kernel.vger.linux-debuggers |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Andrew" == Andrew Burgess <[email protected]> writes: Andrew> I doubt, right now, there are many Andrew> "custom packets" in the wild, but maybe we should consider defining Andrew> namespaces for custom packets, to avoid future conflicts? Right now most of the incompatible packets in the wild are from lldbserver. They extended the protocol but didn't discuss with gdb or send patches to the docs. The other major incompatibility I see in the wild is custom servers that send weird results. I've sent a workaround or two for these kinds of things in the past. Anyway, for a new qXfer packet, I guess I don't see much to worry about. Hopefully people adding such things have the wisdom to pick an unusual name. Andrew> I've had success using packets via Python before, and not everyone is Andrew> aware this feature is available, so I thought I'd mention it. It didn't cross my mind but yeah this seems like a reasonable use case. Tom