Re: [Qemu-devel] Determine simulated pc during an exception

2007-04-14 Thread eady
Thanks Paul for the reply, I don't see how this function is called though by the exception handler. The way I understand it is that an exception is raised via raise_interrupt(exception_index, 0, 0, 0); in helper.c which in turn calls raise_interrupt() that sends the control flow back to the mai

Re: [Qemu-devel] Determine simulated pc during an exception

2007-04-14 Thread Paul Brook
> Can anyone point me to the place in the code where the simulated program > counter is determined after an exception? cpu_restore_state Paul

[Qemu-devel] Determine simulated pc during an exception

2007-04-14 Thread eady
In the QEMU internals docs under exception support the following is stated... "The simulated program counter is found by retranslating the corresponding basic block and by looking where the host program counter was at the exception point." Can anyone point me to the place in the code where the