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


Jim Blandy wrote :
> 
> Ping to the COFF maintainer: this patch needs review.
> 
> Jim Blandy <jimb@redhat.com> writes:
> 
> > 2002-03-06  Jim Blandy  <jimb@redhat.com>
> > 
> >     * coffread.c (coff_symfile_read): Don't try to read the line
> >     number table from disk if the image file doesn't have a symbol
> >     table; we'll never actually look at the info anyway, and Windows
> >     ships DLL's with bogus file offsets for the line number data.

But apparently, on Interix, you can get files with valid line numbers and 
no symbols when all the .o's come from VC and are linked by ld.  So the 
line-number info is perhaps not entirely useless.  Is this change a 
space-saving move, or a fix for a more serious problem?

Paul


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