comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <Gautier.deMontmollin@Maths.UniNe.CH>
To: Henry Rosenbrock <rosenbr@voyager.net>
Subject: Re: GNAT/Ada Traceback Information?
Date: 1999/06/07
Date: 1999-06-07T00:00:00+00:00	[thread overview]
Message-ID: <375B9E98.D81FF99B@Maths.UniNe.CH> (raw)
In-Reply-To: 375AB243.F2176DA5@voyager.net

> I was looking for an Ada standard way of recording the traceback
> information for exceptions. With our current Ada83 compiler(VADS) we had
> to write assembly code to manually trace back the stack within the
> exception handlers. When I started to investigate GNAT and Ada95, I
> noticed that the information was said to be stored in the
> Ada.Exceptions.Exception_Occurence. The type was private, but that can
> be easily fixed. The problem is that no traceback information is ever
> stored into the structure. Does anybody know if this structure was
> created for future enhancements or if it us only active for certain
> targets? Our final target is a PowerPC, but I am current doing the
> research on a Linux i686 box.

A possibility is to adapt the AD trace-back tool that works
on GNAT/DOS & GNAT/NT.
Bin+Sources @ http://members.xoom.com/gdemont/logiciel/ad.zip
Web page http://members.xoom.com/gdemont/ad.htm

Good luck!

-- 
Gautier

http://members.xoom.com/gdemont/




      parent reply	other threads:[~1999-06-07  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-06  0:00 GNAT/Ada Traceback Information? Henry Rosenbrock
1999-06-06  0:00 ` Markus Kuhn
1999-06-06  0:00   ` Robert Dewar
1999-06-07  0:00 ` Gautier [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