From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,995653e833a2d91c X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: With Exceptions Disabled On Windows, How Can I Determine Where A Software Interrupt Occurs Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <7091f995-dd7e-4442-8ca5-158b83e50bec@x5g2000prf.googlegroups.com> <4ade0003$0$966$ba4acef3@news.orange.fr> <4ade04dc$0$949$ba4acef3@news.orange.fr> Date: Tue, 20 Oct 2009 21:04:36 +0200 Message-ID: <10hvfezl7sqga$.8j87mxmxk66.dlg@40tude.net> NNTP-Posting-Date: 20 Oct 2009 21:04:32 CEST NNTP-Posting-Host: eefe7431.newsspool4.arcor-online.net X-Trace: DXC=9;]R;7eZ^M2^8FBo0_81f>4IUK[ On Tue, 20 Oct 2009 20:43:56 +0200, Pascal Obry wrote: > Le 20/10/2009 20:37, Dmitry A. Kazakov a �crit : >> Though the subject's text could be read as if the OP meant the case when >> the corresponding check were suppressed. I.e.,.how do we detect something >> that does not occur... (:-)) > > I hadn't read that this way. But if the checks are suppressed then we > will get a signal for divide by 0 and we should get a proper backtrace > in this case with GNAT. That depends on the hardware. But if zero divide indeed generates a hardware interrupt, then, it is reasonable to suggest that the pragma Suppress will have no effect on Constraint_Error propagation. In which sense, the *software* (so the OP writes) exceptions were "disabled"? Did he mean so-called Windows "Structured Exceptions"? -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de