Re: [hatari-devel] Tracing constraints

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On Dienstag, 21. November 2023 16:56:44 CET Nicolas Pomarède wrote:
> detect changes in PC value and to ignore
> (or not) all traces until the PC is back to just after what it was
> before being changed.

Thats hardly possible. A bus-error for example is normally handled by TOS, 
terminates the program and will never return. However if you have for example 
some virtual memory manager installed, that eventually *will* return.

Similar for priviledge violation: normally that terminates the program. 
However TOS handles a few cases for move from SR (which is only priviledged 
for 68010+), which are emulated and then return to the program.

There might be other cases, were expections either terminate the program, or 
do some emulation stuff and return, like FPU emulators.





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/