Re: gdbstub and gbd segfaults on different instructions in user space emulation

2019-09-30 Thread Peter Maydell
On Mon, 30 Sep 2019 at 16:57, Libo Zhou wrote: > I am encountering segmentation fault while porting my custom ISA to QEMU. My > custom ISA is VERY VERY simple, it only changes the [31:26] opcode field of > LW and SW instructions. The link has my very simple implementation: > https://lists.gnu.o

gdbstub and gbd segfaults on different instructions in user space emulation

2019-09-30 Thread Libo Zhou
Hi all, I am encountering segmentation fault while porting my custom ISA to QEMU. My custom ISA is VERY VERY simple, it only changes the [31:26] opcode field of LW and SW instructions. The link has my very simple implementation: https://lists.gnu.org/archive/html/qemu-devel/2019-09/msg06976.htm