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

Thomas Huth huth at users.berlios.de
Mon Aug 3 23:04:32 CEST 2009


On Mon, 3 Aug 2009 23:53:47 +0300
Eero Tamminen <eerot at users.berlios.de> wrote:

> > > Certainly some other variables could be exported this way, with a
> > > simple table to associate a string to a pointer to that variable
> > > (we could assume it's always 'int' size).
> >
> > Debugger already support 8, 16 & 32-bit variables, so that's not
> > a problem.
> 
> 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?

 Thomas



More information about the hatari-devel mailing list