public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Dividing by zero does NOT generate exception
@ 2011-03-04 22:14 Quanren Xiong
  2011-03-04 22:41 ` [ECOS] " Grant Edwards
  2011-03-05 13:52 ` [ECOS] " Ilija Kocho
  0 siblings, 2 replies; 12+ messages in thread
From: Quanren Xiong @ 2011-03-04 22:14 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-03-06  7:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-04 22:14 [ECOS] Dividing by zero does NOT generate exception Quanren Xiong
2011-03-04 22:41 ` [ECOS] " Grant Edwards
2011-03-04 23:21   ` Grant Edwards
2011-03-05  1:01     ` Quanren Xiong
2011-03-05  1:18       ` Paul D. DeRocco
2011-03-05 16:10         ` Quanren Xiong
2011-03-06  7:19           ` Paul D. DeRocco
2011-03-07  8:17             ` Paul D. DeRocco
2011-03-07 10:03             ` Paul D. DeRocco
2011-03-07 10:15             ` Paul D. DeRocco
2011-03-08  1:32             ` Paul D. DeRocco
2011-03-05 13:52 ` [ECOS] " Ilija Kocho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).