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 X-Google-Thread: 103376,33dd986048344726 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-02 03:15:08 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.media.kyoto-u.ac.jp!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: What happens to Ada exceptions if c calls ada Message-ID: References: <2d87db3f.0107020033.5f0d19d0@posting.google.com> Organization: LJK Software Date: 2 Jul 2001 06:15:03 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 994068905 216.44.122.34 (Mon, 02 Jul 2001 10:15:05 GMT) NNTP-Posting-Date: Mon, 02 Jul 2001 10:15:05 GMT Xref: archiver1.google.com comp.lang.ada:9315 Date: 2001-07-02T06:15:03-05:00 List-Id: In article <2d87db3f.0107020033.5f0d19d0@posting.google.com>, Mark.Doherty@uk.thalesgroup.com (Mark Doherty) writes: > I am writing a mixed language application (not by choice). > > I have an Ada main program calling c routines that in turn calling an > Ada device driver. > > What happens if the device driver raises an exception? On VMS (and a couple of other operating systems, I believe) the exception would be handled in Kernel mode while all "main programs" are in user mode. You really need to tell us what operating system you are using (unless you don't really mean "device driver").