Ludovic Brenta wrote:
> I don't think -gnatE buys you anything, as GNAT's default, static
> elaboration model is more strict. 

Is the static elaboration model always in force?  That is, if I use
-gnatE, do I get both static *and* dynamic elaboration checks?  That
would be preferable, IMO.

> Nevertheless, the following patch
> (applied in Monotone in branch org.debian.gnat-gps.3.1.3) should take
> care of the Program_Error.

Applied.  Thanks!  I applied the same fix to the other two files that
use String_Hash.

And the end result?  It still crashes, but it doesn't smash the stack
while doing so like it did before.  And using the "new file" button
actually works.

Debugging under gdb doesn't work with the -gstabs+ option because the
debugger isn't able to access any of the stack-allocated objects in
the Ada code.  See:

   http://www.mail-archive.com/osg-users@openscenegraph.net/msg04734.html

I switched gps.gpr over to -ggdb and all is well on that front now.


It's currently crashing in a free that's being called from
glib.convert.locale_from_utf8().  I'm in the process of compiling up
libgtkada2-2.8.1 with full debugging.


-- 
Kevin Brown                                           [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to