Re: RISC-V: Is it reasonable to extend current target_description for KGDB?

Pedro Alves
2019-10-16T10:03:18Z

On 10/15/19 8:43 AM, Vincent Chen wrote:
> Hi,
> I am a Linux developer and trying to add the KGDB support to the
> RISC-V Linux. During the porting, I encountered a GDB issue with the
> 'g' packet. I hope the GDB experts can give me some advice.
> The KGDB is a debugger provided by the kernel for users to debug
> kernel space through GDB. To parse the GDB packets, the KGDB has a
> simple gdb stub. However, this gdb stub does not support the
> "qSupported" packet.

I don't understand the resistance to just adding the support.
It is not complicated, and would surely end up being used to
negotiate support for other optional features.

Thanks,
Pedro Alves