[PATCH] gdbserver: Remove srv_linux_usrregs setting in RISCV

Tom Tromey tom@tromey.com
Mon May 9 14:17:18 GMT 2022


>>>>> Youling Tang <tangyouling@loongson.cn> writes:

> In the linux kernel code of RISCV, ptrace does not have the implementation
> of PTRACE_POKEUSR/PTRACE_PEEKUSR in the arch_ptrace function (like aarch64),
> If srv_linux_usrregs is set to yes, HAVE_LINUX_USRREGS will be defined, so
> remove the srv_linux_usrregs setting.

Looks reasonable to me.
Thank you.

Tom


More information about the Gdb-patches mailing list