How to get a traceback in Gnat 3.14p 
Author Message
 How to get a traceback in Gnat 3.14p

I tried adding a "when oops:others=>
log("oops:" & gnat.traceback.symbolic.symbolic_traceback(oops));"
and recompiling everything with -g.  The result was a giant exe (3x)
but a null string for the traceback.  What needs doing?


Wed, 28 Jul 2004 04:55:11 GMT  
 How to get a traceback in Gnat 3.14p

Quote:

> I tried adding a "when oops:others=>
> log("oops:" & gnat.traceback.symbolic.symbolic_traceback(oops));"
> and recompiling everything with -g.  The result was a giant exe (3x)
> but a null string for the traceback.  What needs doing?

Did you use the -E binder argument ?

Pascal.

--

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"



Wed, 28 Jul 2004 05:24:48 GMT  
 How to get a traceback in Gnat 3.14p
Quote:
> Did you use the -E binder argument ?

  No.  I (mis)understood the description in gnat_ug to say it was not
needed under Windows.  But that indeed made it produce a traceback.
Thanks.


Wed, 28 Jul 2004 06:28:03 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. problem with Gnat.Traceback.Symbolic on linux with Gnat 3.14p ?

2. tasking with GNAT 3.14p on windows

3. ANN: gnat-3.14p rpms available for Red Hat 7

4. Announce: HPUX-11 Binaries for GNAT-3.14p/3.15p Available (and HOWTO)

5. Pragma Import don't suppress intialization on access type with GNAT 3.14p

6. Overriding discriminants perplexes GNAT 3.14p

7. Requeue in GNAT 3.14p (Linux)

8. Streams in GNAT 3.14p

9. Looking for GNAT 3.14p for Alpha/Linux

10. GNAT 3.14p and Red Hat 7.2

11. RPM package for GNAT 3.14p ?

12. patch to Gnat 3.14p NT posted

 

 
Powered by phpBB® Forum Software