Also noted here: http://osdir.com/ml/gnu.binutils/2002-08/msg00624.html
If the SUNPro C++ compiler is used with the "-xs -g" (embed debugging symbols in executable, debugging enabled) options, 'objdump -g' fails to output the debugging stabs: $ objdump -g foo.o foo.o: file format elf32-sparc Bad stab: uv4;0;32 Last stabs entries before error: n_type n_desc n_value string 198 0 0000000000000000 short:t(0,2)=bs2;0;16 198 0 0000000000000000 int:t(0,3)=bs4;0;32 198 0 0000000000000000 long:t(0,4)=bs4;0;32 198 0 0000000000000000 long long:t(0,5)=bs8;0;64 198 0 0000000000000000 unsigned char:t(0,6)=buc1;0;8 198 0 0000000000000000 unsigned short:t(0,7)=bu2;0;16 198 0 0000000000000000 unsigned:t(0,8)=bu4;0;32 198 0 0000000000000000 unsigned long:t(0,9)=bu4;0;32 198 0 0000000000000000 unsigned long long:t(0,10)=bu8;0;64 198 0 0000000000000000 signed char:t(0,11)=bsc1;0;8 198 0 0000000000000000 wchar_t:t(0,12)=buc4;0;32 198 0 0000000000000000 void:t(0,13)=bs0;0;0 198 0 0000000000000000 float:t(0,14)=R1;4 198 0 0000000000000000 double:t(0,15)=R2;8 198 0 0000000000000000 long double:t(0,16)=R6;16 198 0 0000000000000000 ...:t(0,17)=buv4;0;32 -- Summary: objdump fails to read debugging stabs from SUNPro C++ compiler Product: binutils Version: 2.18 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: andrew at ishiboo dot com CC: bug-binutils at gnu dot org GCC build triplet: sparc-sun-solaris2.9 GCC host triplet: sparc-sun-solaris2.9 GCC target triplet: sparc-sun-solaris2.9 http://sourceware.org/bugzilla/show_bug.cgi?id=6922 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils