comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Johnson <mark_h_johnson@raytheon.com>
Subject: Re: Traceback on Gnat/Linux
Date: Tue, 17 Dec 2002 11:15:10 -0600
Date: 2002-12-17T11:15:10-06:00	[thread overview]
Message-ID: <3DFF5B9E.73845A53@raytheon.com> (raw)
In-Reply-To: atnhom$ucd5$1@ID-76083.news.dfncis.de

"Joachim Schr�er" wrote:
> 
> Hello,
> 
> we are porting code from Windows to Linux (Suse 7.3),
> [snip get symbolic traceback on Windows, not on Linux]
> Whats wrong?
> 
Having just read the code on Linux a few minutes ago (to see what it did
for our application) you can see comments that suggest you pass the
address values to addr2line (which should be installed on your system).
I can't be sure, but it appears that since the conversion routine is
readily available - they decided to implement it a more simple way on
Linux (and other Unix systems?) than on Windows.

There is also an example in the gnat user's guide (search for addr2line)
that shows how to do this with and without symbolic traceback (but
requires you to link w/ the addr2line library). There are also
references to the specific files in /usr/gnat/... which have the source
code responsible. Good luck.

  --Mark



      reply	other threads:[~2002-12-17 17:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-17 16:03 Traceback on Gnat/Linux Joachim Schr�er
2002-12-17 17:15 ` Mark Johnson [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