------- Additional Comments From amodra at bigpond dot net dot au  2006-02-15 
23:06 -------
I think we all agree that the ideal ld behaviour would be to strip out debug
info corresponding to removed linkonce sections.  Failing that, I claim that
marking the debug info in some way as invalid is the next best solution.  At
least that gives gdb a chance to discard the info.  That is what we are trying
to do by putting a zero in debug info address fields.

Your patch caused other gdb problems, specifically, gdb miscalculated the
address range for a compilation unit, which led to gdb reporting file and line
number wrongly for a breakpoint set in another compilation unit.

-- 


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

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