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 13:05:30 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: What happens to Ada exceptions if c calls ada References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Mon, 02 Jul 2001 20:05:28 GMT NNTP-Posting-Host: 24.7.82.199 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 994104328 24.7.82.199 (Mon, 02 Jul 2001 13:05:28 PDT) NNTP-Posting-Date: Mon, 02 Jul 2001 13:05:28 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:9347 Date: 2001-07-02T20:05:28+00:00 List-Id: >>From my experience the exception will be propagated up to >the first block that contains an exception handler. So >your C code will never see the exceptions (natually). That accords with my (limited) experience also. If the C run-time doesn't have any hidden data structures, only frames on the stack, and there are no pointers into the stack area that is going to be cut away, then having the Ada run-time cut back the stack should be OK, ie, it should leave things as if the C stuff was never called.