[hatari-devel] something not working with breakpoints ?
Thomas Huth
huth at users.berlios.de
Sun Sep 6 12:15:46 CEST 2009
On Sat, 5 Sep 2009 20:53:06 +0200 (CEST)
npomarede at corp.free.fr wrote:
> In fact, I think I found the bug : when I add your printf, I get lots
> of lines like :
>
> (0x44c).b = 0x0
>
> Then I insert the disk in drive A and press alt+r for reset, and at
> this point, there's no more printf, so it seems resetting the ST is
> removing the SPCFLAG_DEBUGGER flag :(
That could be true. Please check m68k_reset() in newcpu.c, I think the
flags are cleared there...
> If I press alt+pause and then immediatly 'c', I return to emulation
> and the printf are back again -> breakpoints are checked again.
>
> So, I think when Hatari is cold/warm rebooted, it should keep the
> state of the SPCFLAG_DEBUGGER, else we have a list of active
> breakpoints that stay persistent after the reset, but they're not
> checked anymore.
Agreed, this should be fixed.
> Thomas, maybe this should go in 1.3.2 ? (I think it could puzzle some
> users, but as it's limited to a few person that will use breakpoints,
> maybe it's not worth to do another release)
I think there are not that much people who use the debugger, and most
of them likely read this mailing list already, so they should be aware
of this problem now...
Thomas
More information about the hatari-devel
mailing list