------- Additional Comments From ian at airs dot com  2009-12-30 01:34 -------
I finally took another look at this.  The problem here is simply that dump_syms 
is incorrect.  It only works if the stabs strings have been optimized into a 
single compilation unit.  The GNU linker does that optimization by default, but 
gold does not (since very few people use stabs debugging these days).

When there are multiple compilation units in the stabs data, a special stabs 
entry with a type of 0 gives the size of each unit.  This is documented 
(briefly) here: http://sourceware.org/gdb/onlinedocs/stabs/Stab-Section-
Basics.html#Stab-Section-Basics .

I'll append a patch which fixes the google-breakpad problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=10338

------- 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

Reply via email to