Re: Issues with modifying pc in a sigaction handler

2021-04-14 Thread Peter Maydell
On Tue, 13 Apr 2021 at 23:44, Devin Hussey wrote: > > In a toy project I was doing > (https://github.com/easyaspi314/ThumbGolf), I found that qemu will > incorrectly handle modifying pc in a handler. > > Specifically, on platforms with instruction alignment requirements > (most notably ARM), if yo

Issues with modifying pc in a sigaction handler

2021-04-13 Thread Devin Hussey
In a toy project I was doing (https://github.com/easyaspi314/ThumbGolf), I found that qemu will incorrectly handle modifying pc in a handler. Specifically, on platforms with instruction alignment requirements (most notably ARM), if you set the pc to an odd address, QEMU will start reading unaligne