On 18 May 2011 11:00, Alex Zuepke <azue...@sysgo.com> wrote: > Peter Maydell schrieb: >> On 25 March 2011 10:54, Alex Zuepke <azue...@sysgo.com> wrote: >>> while digging through some problems with BKPT exceptions on ARM, I >>> discovered that QEMU does not update IFSR on prefetch aborts. This >>> should be done since ARMv6 according to ARM docs. Please include.
> I tried to fix it, new patch attached. Thanks. I've looked at it and given it a quick test; I'm happy with this version. > But I'm not sure if it is required for semihosting as well. I think the value of IFSR is not defined after a semihosting request (different implementations might use an actual SVC handler or might intercept the SVC before it becomes an actual CPU SVC exception). For QEMU we handle the semihosting request and return immediately rather than actually delivering a CPU exception, so I think it makes sense not to set IFSR in that case. Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> -- PMM