[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/12725] New: Ouput issue with addr2line on Mac OS X 10.6
From: |
abo.pignard at wanadoo dot fr |
Subject: |
[Bug binutils/12725] New: Ouput issue with addr2line on Mac OS X 10.6 |
Date: |
Tue, 3 May 2011 08:06:00 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12725
Summary: Ouput issue with addr2line on Mac OS X 10.6
Product: binutils
Version: 2.21
Status: NEW
Severity: critical
Priority: P2
Component: binutils
AssignedTo: address@hidden
ReportedBy: address@hidden
Hello.
I've used addr2line with GNAT Ada compiler on Mac OS X 10.4 PPC for years.
When I swiched to Mac OS X 10.6 Intel, I got no more correct output but some
"??:0".
See how to reproduce it:
$ cat stb.adb
procedure STB is
procedure P1 is
begin
raise Constraint_Error;
end P1;
procedure P2 is
begin
P1;
end P2;
begin
P2;
end STB;
$ gnatmake -f -g stb -bargs -E
gcc -c -g stb.adb
gnatbind -E -x stb.ali
gnatlink stb.ali -g
$ ./stb
Execution terminated by unhandled exception
Exception name: CONSTRAINT_ERROR
Message: stb.adb:4 explicit raise
Call stack traceback locations:
0x10000121b 0x1000011fb 0x1000011e2 0x1000011c0
$ addr2line --exe=stb --functions --demangle=gnat 0x10000121b 0x1000011fb
0x1000011e2 0x1000011c0
??
??:0
??
??:0
??
??:0
??
??:0
How to display correct output?
Thanks, Pascal.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug binutils/12725] New: Ouput issue with addr2line on Mac OS X 10.6,
abo.pignard at wanadoo dot fr <=