comp.lang.ada
 help / color / mirror / Atom feed
From: Jere <jhb.chat@gmail.com>
Subject: Re: Possible GNAT bug, but wanted to see if it was a violtion of the RM
Date: Sun, 25 Feb 2018 07:22:48 -0800 (PST)
Date: 2018-02-25T07:22:48-08:00	[thread overview]
Message-ID: <21101fa1-fd21-4363-814e-a353b864670f@googlegroups.com> (raw)
In-Reply-To: <lymuzxjnjf.fsf@pushface.org>

On Sunday, February 25, 2018 at 6:50:46 AM UTC-5, Simon Wright wrote:
> 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 .

Thanks!  I've never messed with the debugger at the command level.  I always
just invoked it from GPS using the menus.  I guess I need to start looking
at learning how to work it by hand.

      reply	other threads:[~2018-02-25 15:22 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
2018-02-25 15:22       ` Jere [this message]
replies disabled

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