RFA: don't read coff line number unless we have symbols too
Jim Blandy
jimb@redhat.com
Tue Jun 25 15:07:00 GMT 2002
"Paul N. Hilfinger" <hilfingr@otisco.mckusick.com> writes:
> OK. Further investigation (by Donn Terry) indicates that this change is
> not a problem. In the cases on Interix that we were worried about, there
> is still a linker symbol table with non-debugging symbols, and so the line
> numbers aren't tossed after all.
I'm remembering more about this now --- COFF line numbers aren't
*meaningful* in the absence of linker symbols. They indicate source
files by symtab indices. Or some such. So I think it's always got to
be harmless to ignore line number info when you don't have symbols.
(I'm so out of it. I could be completely wrong about what this patch
even does. If what I'm saying is nonsense, just say so and I'll go
figure out what I was really thinking.)
More information about the Gdb-patches
mailing list