Re: [fpc-pascal] arm-linux, no bus error on misaligned data access
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/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] arm-linux, no bus error on misaligned data access
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 would abort with an error message, so that I can isolate the bug. Does someone know, if there exists something like a Linux option do disable/enable data aborts? Yes, if you want signals, do: echo 4 > /proc/cpu/alignment ... and your program should abort at any unaligned access. Daniël___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] arm-linux, no bus error on misaligned data access
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 exists something like a Linux option do disable/enable data aborts? Regards, Bernd. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal