[fpc-pascal] arm-linux, no bus error on misaligned data access

2008-02-26 Thread Bernd Mueller
Hello, my ARM-Linux board seems to be resistant against bus errors/misaligned data access or the compiler does some magic to prevent these ;-) It would help me, to debug a program, when my board would abort with an error message, so that I can isolate the bug. Does someone know, if there exis

Re: [fpc-pascal] arm-linux, no bus error on misaligned data access

2008-02-26 Thread Daniël Mantione
Op Tue, 26 Feb 2008, schreef Bernd Mueller: Hello, my ARM-Linux board seems to be resistant against bus errors/misaligned data access or the compiler does some magic to prevent these ;-) Yes, the kernel "fixes" the unaligned access. It would help me, to debug a program, when my board woul

Re: [fpc-pascal] arm-linux, no bus error on misaligned data access

2008-02-26 Thread Bernd Mueller
Daniël Mantione wrote: echo 4 > /proc/cpu/alignment ... and your program should abort at any unaligned access. Daniël, thank you very much. Regards, Bernd. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mail