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

Laurent Sallafranque laurent.sallafranque at free.fr
Tue Aug 4 00:17:18 CEST 2009


I've just cloned the latest hg version and compiled it without problem.

I have a quad core 64 bits computer.

regards

Laurent


Thomas Huth a écrit :
> 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
> _______________________________________________
> hatari-devel mailing list
> hatari-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/hatari-devel
>
>
>   




More information about the hatari-devel mailing list