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

hilihui@sina.com hilihui@sina.com
Fri Nov 13 02:43:03 GMT 2020


../../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!


More information about the Gdb mailing list