[hatari-devel] Debugger breakpoints for Hatari variables too?

Eero Tamminen eerot at users.berlios.de
Tue Aug 4 20:10:45 CEST 2009


Hi,

On Tuesday 04 August 2009, Thomas Huth wrote:
> > Well, "int" is actually a problem because on 64-bit machines it's
> > 64-bit. Should the variables be changed to 32-bit or should I add
> > support for (potentially) 64-bit values to breakpoint code?
>
> Unless you're compiling for a very exotic target, "int" is normally 32
> bits, and "long" is 64 bits.
>
> > (Current breakcond code will give a compilation error on 64-bit.)
>
> Uh, that would be a no-go for the release... could somebody with a
> 64-bit system please check if the current hg code still compiles fine?

Sorry, I wrote the previous mail a bit too much in a hurry.

Setting breakpoint to a 64-bit int variable will abort Hatari in the break
condition check function with a slightly misleading "ERROR: unknown register
size 64!" message after the emulation is continued.

It's not a compilation error.


	- Eero



More information about the hatari-devel mailing list