comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
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
Date: 2018-02-25T11:50:44+00:00	[thread overview]
Message-ID: <lymuzxjnjf.fsf@pushface.org> (raw)
In-Reply-To: 0f6421b0-e8f7-4624-aa38-6b424d3d8c51@googlegroups.com

Jere <jhb.chat@gmail.com> 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 .


  reply	other threads:[~2018-02-25 11:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-23  2:36 Possible GNAT bug, but wanted to see if it was a violtion of the RM Jere
2018-02-23  9:16 ` Simon Wright
2018-02-24 22:07   ` Jere
2018-02-25 11:55     ` Simon Wright
2018-02-25 15:55       ` Jere
2018-02-24 22:10   ` Jere
2018-02-25 11:50     ` Simon Wright [this message]
2018-02-25 15:22       ` Jere
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox