This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: don't read coff line number unless we have symbols too


"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.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]