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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Possible GNAT bug, but wanted to see if it was a violtion of the RM Date: Sun, 25 Feb 2018 11:50:44 +0000 Organization: A noiseless patient Spider Message-ID: References: <906cd418-adff-4eeb-9da5-7c6f7c777ff8@googlegroups.com> <0f6421b0-e8f7-4624-aa38-6b424d3d8c51@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="6f50c8c785b8831942dc44802c5b5720"; logging-data="21256"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fX/WwvjcTbRLrjiLL1cXQy3Z0zGUMiAg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:D7ZUdzBbo6Vy+8ZwuxLOa0kVx3A= sha1:9rgyow4XgnFV+kE9CD9FDqAogLk= Xref: reader02.eternal-september.org comp.lang.ada:50628 Date: 2018-02-25T11:50:44+00:00 List-Id: Jere writes: > I wasn't able to get the GPL debugger to trigger on the exception. I > tried stepping through the program but the application just exits at > the end without the debug info. I tried putting an exception handler > and break point in that, but it never catches the exception (so either > I am not allowed to catch Program_Error or the exception happens > outside of my main operation). I just said (gdb) catch exception If this doesn't work - it says Your Ada runtime appears to be missing some debugging information. Cannot insert Ada exception catchpoint in this configuration. then invoke gdb with the -readnow switch. This may be a macOS thing, but see http://sourceware.org/bugzilla/show_bug.cgi?id=11385 .