I compile gdbserver for RISCV on gdb10.1 version, and there is a error

<[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
../../gdbserver/linux-riscv-low.cc:170:42: error: invalid application of 'sizeof' to incomplete type '__riscv_mc_q_ext_state'     sizeof (struct __riscv_mc_q_ext_state), OPTIONAL_REGS,                                          ^It seems that  "__riscv_mc_q_ext_state" is not defined. How to resolve this question? Thanks!
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.