Re: [PATCH v3 1/3] target/riscv: Tell gdbstub the correct number of CSRs

2019-10-08 Thread Alistair Francis
On Mon, Oct 7, 2019 at 5:16 PM Jonathan Behrens wrote: > > If the number of registers reported to the gdbstub code does not match the > number in the associated XML file, then the register numbers used by the stub > may get out of sync with a remote GDB instance. > > Signed-off-by: Jonathan Behren

Re: [PATCH v3 1/3] target/riscv: Tell gdbstub the correct number of CSRs

2019-10-08 Thread Jonathan Behrens
On Tue, Oct 8, 2019 at 5:54 AM Bin Meng wrote: > > On Tue, Oct 8, 2019 at 8:15 AM Jonathan Behrens wrote: > > > > If the number of registers reported to the gdbstub code does not match the > > number in the associated XML file, then the register numbers used by the > > stub > > may get out of sy

Re: [PATCH v3 1/3] target/riscv: Tell gdbstub the correct number of CSRs

2019-10-08 Thread Bin Meng
On Tue, Oct 8, 2019 at 8:15 AM Jonathan Behrens wrote: > > If the number of registers reported to the gdbstub code does not match the > number in the associated XML file, then the register numbers used by the stub > may get out of sync with a remote GDB instance. I am not sure how to trigger the