comp.lang.ada
 help / color / mirror / Atom feed
From: "Joachim Schr�er" <joachim.schroeer@dornier.eads.net>
Subject: Traceback on Gnat/Linux
Date: Tue, 17 Dec 2002 17:03:10 +0100
Date: 2002-12-17T17:03:10+01:00	[thread overview]
Message-ID: <atnhom$ucd5$1@ID-76083.news.dfncis.de> (raw)

Hello,

we are porting code from Windows to Linux (Suse 7.3),
Gnat 3.14p on both platforms.
We do not get a symbolic traceback on linux.
The windows options are

gnatmake -s -cargs -O3 -bargs -f -E -largs ... ....adb

The options for Linux are

gnatmake -s -cargs -O3 -funwind-tables -bargs -f -E -largs ... ....adb

my exception handler looks like

exception
    when E : others =>
        Put(Ada.Exceptions.Exception_Information(E) &
              Gnat.Traceback.Symbolic.Symbolic_Traceback(E));

On windows I get an output like

Call stack traceback locations:
0x5dbb11 0x5dbe9e 0x5df0a6 0x5de42b 0x40166d 0x401103 0x77f1b9e8
005DBB11 in mst.rap_generator.initialize.read at mst-rap_generator.adb:394
005DBE9E in mst.rap_generator.initialize at mst-rap_generator.adb:411
005DF0A6 in mst.sa.process.initialize at mst-sa-process.adb:153
005DE42B in mst.sa.main at mst-sa-main.adb:22
0040166D in ?? at crt1.c:0
00401103 in ?? at crt1.c:0
77F1B9E8 in ?? at fake:0

but on linux only the adresses are given.
Whats wrong?

 Thanks for any hints.
    J. Schroer





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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-17 16:03 Joachim Schr�er [this message]
2002-12-17 17:15 ` Traceback on Gnat/Linux Mark Johnson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox