From: griest-tom@cs.yale.edu (Tom Griest)
Subject: Re: debugging GNAT programs
Date: 6 Mar 1995 14:34:29 -0500
Date: 1995-03-06T14:34:29-05:00 [thread overview]
Message-ID: <3jfo45INNj76@RA.DEPT.CS.YALE.EDU> (raw)
In-Reply-To: 3jd2ts$91@gnat.cs.nyu.edu
banner@cs.nyu.edu (Bernard Banner) writes:
>griest-tom@cs.yale.edu (Tom Griest) writes:
>: __gnat_raise is only called for unhandled exceptions (which was
>: the original question). If you want to catch any exception you
>: have to also set a breakpoint on the longjmp routine.
>: (I'm not sure that this isn't used for things other than just
>: exception propogation, but it seems to work reliably.)
>:
>: -Tom
>
>__gnat_raise is called on every exception raised whether it is handled or
>not. __gnat_unhandled_exception is called only for unhandled exceptions.
>
>Bernard Banner
I remember having a problem catching an exception by just setting
a break on __gnat_raise. Somehow (either through __gnat_reraise or
a direct reference in the generated code) __gnat_raise_nodefer was getting
invoked and the longjmp was getting taken without an intervening call
to __gnat_raise.
This was a couple of months ago, so things may be a little different
now.
_tom
next prev parent reply other threads:[~1995-03-06 19:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-03-02 14:52 debugging GNAT programs Marc Graham
1995-03-02 16:52 ` Robert A Duff
1995-03-03 2:47 ` Pug 156
1995-03-04 4:26 ` Tom Griest
1995-03-05 19:20 ` Bernard Banner
1995-03-06 19:34 ` Tom Griest [this message]
1995-03-02 22:23 ` Keith Thompson
1995-03-03 22:33 ` Robert S. White
1995-03-05 15:42 ` Robert Dewar
1995-03-05 15:52 ` Robert Dewar
1995-03-06 0:38 ` kkrieser
1995-03-06 15:14 ` Robert S. White
1995-03-03 4:57 ` Vladimir Vukicevic
1995-03-04 14:07 ` Cyrille Comar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox