I compile gdbserver for RISCV on gdb10.1 version, and there is a error
| 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!