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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!not-for-mail From: Keith Thompson Newsgroups: comp.lang.ada Subject: Re: With Exceptions Disabled On Windows, How Can I Determine Where A Software Interrupt Occurs Date: Tue, 20 Oct 2009 12:31:57 -0700 Organization: None to speak of Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.eternal-september.org U2FsdGVkX1/iokpoyXxGkxRUwhiy9ZVHp2CtGvtpNqVgTH4rkaOLmNPzu6D6RvhS+VI6r+JSCwUa3lft5l17HTo6uzVhSWDRePEZSySaldZNex7Dlk+/Li6pR8+IKnkQ4Cc8XjDNoul30dl9/fkisA== X-Complaints-To: abuse@eternal-september.org NNTP-Posting-Date: Tue, 20 Oct 2009 19:33:16 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/JjLX4mTCaKRnWMogg5T0u Cancel-Lock: sha1:aQw2MH5lrLEcL3R2mzMVEhbNojs= sha1:JGXpY8ENGfxHTwLJldaxagFZAW8= User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/21.4 (gnu/linux) Xref: g2news2.google.com comp.lang.ada:8760 Date: 2009-10-20T12:31:57-07:00 List-Id: ChristopherL writes: > I'm looking for a compilable/working example on how to do this. For > example code to determine where a divide by zero occurs etc. Two suggestions: 1. Put the question in the body of your message, not just in the subject header. 2. Explain exactly what you mean by "with exceptions disabled". Do you mean "with checks suppressed"? (If so, the answer may be simply "Don't do that"; if you want to know where a software interrupt occurs, why did you suppress checks?) -- Keith Thompson (The_Other_Keith) kst-u@mib.org Nokia "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"