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: unassig...@sources.redhat.com ReportedBy: abo.pign...@wanadoo.fr 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 mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils