From: Simon Wright <simon@pushface.org>
Subject: Re: Exception traceback when using TDM-GCC 5.1.0-3
Date: Sat, 23 Jul 2016 17:13:33 +0100
Date: 2016-07-23T17:13:33+01:00 [thread overview]
Message-ID: <ly8tws8h8y.fsf@pushface.org> (raw)
In-Reply-To: 3e02dbb0-69e3-429b-b8c5-d4762dbeb187@googlegroups.com
ahlan@marriott.org writes:
> Our problem is that we don't get a traceback at all.
> In AdaCore's GNAT the traceback is displayed by default in hex.
> To convert that into a symbolic traceback we use Gnat.Traceback.Symbolic.
> However this is not the problem.
> The problem is that we don't get a traceback at all - ie the -E switch
> doesn't seem to have the desired effect.
Using 32-bit TDM GCC 5.1.0 (tdm-1) on Windows 7 with this:
procedure CE is
procedure Raiser (N : Positive) is
begin
Raiser (N - 1);
end Raiser;
begin
Raiser (5);
end CE;
I get this:
>ce
Execution terminated by unhandled exception
Exception name: CONSTRAINT_ERROR
Message: ce.adb:4 range check failed
Call stack traceback locations:
0x401533 0x401533 0x401533 0x40154b 0x4014e6 0x4010fb 0x77a73646 0x77a73619
and I can use the addr2line.exe that came with GNAT GPL 2014 (I just
haven't got round to installing the 2016 release) to get this
>addr2line.exe -e ce.exe 0x401533 0x401533 0x401533 0x40154b 0x4014e6 0x4010fb 0x77a73646 0x77a73619
C:\Users\Simon Wright/ce.adb:4
C:\Users\Simon Wright/ce.adb:4
C:\Users\Simon Wright/ce.adb:4
C:\Users\Simon Wright/ce.adb:7
C:/Users/Simon Wright/b~ce.adb:140
crt1.c:?
??:0
??:0
next prev parent reply other threads:[~2016-07-23 16:13 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-19 16:40 Exception traceback when using TDM-GCC 5.1.0-3 ahlan.marriott
2016-07-20 5:33 ` jrmarino
2016-07-20 6:19 ` ahlan
2016-07-20 6:43 ` Simon Wright
2016-07-20 7:13 ` ahlan
2016-07-20 13:09 ` jrmarino
2016-07-23 16:13 ` Simon Wright [this message]
2016-07-24 8:43 ` ahlan.marriott
2016-07-24 9:44 ` Simon Wright
2016-07-24 17:14 ` jrmarino
2016-07-24 18:54 ` ahlan.marriott
2016-07-24 19:46 ` Björn Lundin
2016-07-25 8:45 ` ahlan.marriott
2016-07-25 9:04 ` gautier_niouzes
2016-07-25 18:49 ` ahlan.marriott
2016-07-25 11:34 ` Björn Lundin
2016-07-25 12:05 ` Simon Wright
2016-07-25 14:06 ` Björn Lundin
2016-07-25 18:48 ` ahlan.marriott
2016-07-26 21:20 ` jrmarino
2016-07-27 7:09 ` Markus Schöpflin
2016-07-27 7:35 ` Simon Wright
2016-07-27 10:57 ` ahlan.marriott
2016-07-27 13:22 ` Simon Wright
2016-07-27 14:11 ` ahlan.marriott
2016-07-27 15:45 ` Simon Wright
2016-07-27 19:32 ` Anh Vo
2016-07-27 20:33 ` ahlan.marriott
2016-07-27 21:03 ` Anh Vo
2016-07-28 6:07 ` ahlan.marriott
2016-07-28 6:56 ` ahlan.marriott
2016-07-28 12:26 ` Björn Lundin
2016-07-28 16:07 ` ahlan.marriott
2016-07-28 16:19 ` Björn Lundin
2016-07-28 14:48 ` Anh Vo
2016-07-28 15:44 ` Anh Vo
2016-07-28 16:00 ` ahlan.marriott
2016-07-28 16:16 ` Anh Vo
2016-07-28 20:34 ` ahlan.marriott
2016-07-28 20:55 ` Björn Lundin
2016-07-29 6:40 ` ahlan.marriott
2016-07-29 10:08 ` Björn Lundin
2016-07-30 8:10 ` ahlan.marriott
2016-07-29 7:01 ` Simon Wright
2016-07-29 8:21 ` gautier_niouzes
2016-07-31 8:26 ` ahlan
2016-07-29 15:57 ` Anh Vo
2016-07-29 18:48 ` Anh Vo
2016-07-30 8:11 ` ahlan.marriott
2016-07-27 10:41 ` ahlan.marriott
2016-07-27 7:18 ` gautier_niouzes
2016-07-27 10:45 ` ahlan.marriott
2016-07-25 7:14 ` Georg Bauhaus
2016-07-20 13:06 ` jrmarino
2016-07-21 3:51 ` gautier_niouzes
2016-07-21 7:24 ` ahlan
2016-07-21 10:33 ` gautier_niouzes
2016-07-21 12:15 ` ahlan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox