Re: [hatari-devel] Best way to get next address from CPU core?

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


Le 14/01/2023 à 17:14, Eero Tamminen a écrit :
Hi Nicolas,

I just worked around WinUAE CPU core disassembler segfault when profiler asks it for a next PC address (while profiling ScummVm, which has very long C++ symbol names [1]).

Is there some better way to get (memory-wise, not execution-wise) next instruction address for given address, other than asking CPU core to disassemble that address:
https://git.tuxfamily.org/hatari/hatari.git/tree/src/debug/68kDisass.c#n290
?

Does e.g. CPU core instruction decoder nowadays offer function to query size of an instruction at given address?

Hi

not that I know.

Nicolas



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