[fpc-pascal] FPC on ARM (eg Zaurus)

Den Jean geeken at pandora.be
Mon Nov 22 05:41:08 CET 2004


On Saturday 20 November 2004 11:53 pm, Den Jean wrote:

> it crashes
> when compiled for ARM 
> 

I also debugged it on the zaurus with gdb.

On clicking the button that is attached to AppQuit I get:
   Program received signal SIGILL, Illegal instruction.
   $000a0e84 in U_SYSUTILS_UPPERCASETABLE ()

I also checked wether method.func corresponds to @MyClass.AppQuit
and method.data to MyClass.  So I added this pascal code.

------------------------------------------------------------------------------------------
QButton_clicked_Event(Method):=MyClass.AppQuit;
writeln('@MyClass.AppQuit:',IntToHex(integer(@MyClass.AppQuit),4));
writeln('@Method.code:',IntToHex(integer(Method.code),4));
writeln('MyClass:',IntToHex(integer(MyClass),4));
writeln('@Method.data:',IntToHex(integer(Method.data),4))
------------------------------------------------------------------------------------------

A screenshot for fun of gdb debugging this fpc program on the zaurus is here:
http://users.pandora.be/Jan.Van.hijfte/qtforfpc/test01.png

I hope this helps.

kind regards,

Jan




More information about the fpc-pascal mailing list