Hi, I am using ECOS 2.0.33. To my suprise, the following code does NOT generate an exception.
"int b=1; int c=b/0;" The value in variable c will be 0. The platform is at91rm9200. I double and triple checked the following options are on: CYGSEM_KERNEL_EXCEPTIONS_GLOBAL, CYGPKG_HAL_EXCEPTIONS, CYGPKG_KERNEL_EXCEPTIONS. And CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS is disabled. I would like an exception being generated. What am I doing wrong? Thanks for your helps -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss