Re: [hatari-devel] Question about debugger

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


Le 30/01/2012 00:06, Laurent Sallafranque a écrit :
Hi Eero,

Is there a way to break to the debugger when the program reads in a
specific memory address ?

I'd like hatari to breaks when the program I run reads at address
$ff82c0 (Videl here for the example).

Regards

Laurent
Hello

no, this is currently not possible, it would require to intercept all read/write (made by the cpu, blitter, dma, ...).
But if it's for IO registers, you can add a call to debugui in the 
specific function (since all IO read/write already use ioMem.c, it'q 
quite easy to do for your own tests)
Nicolas



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