This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] import drow dbxread.c fix to branch
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: drow at mvista dot com, ezannoni at redhat dot com
- Cc: ac131313 at cygnus dot com, gdb-patches at sources dot redhat dot com
- Date: Thu, 4 Apr 2002 20:17:51 -0600
- Subject: Re: [RFA] import drow dbxread.c fix to branch
Maybe I am some e-mails behind here. But: if "gcc sometimes emits
line directives with a linenumber of 0", we may have a conflict.
FredF's patch synthesizes entries with a line number of 0.
So far DanielJ's patches have been adhering to the new meaning
per FredF.
Michael C
2002-02-21 Fred Fish <fnf@redhat.com>
* dbxread.c (process_one_symbol): When finding an N_FUN symbol
that marks the end of the range of a function, enter a line number
entry that has a line number of zero and a PC offset that matches
the end of the function. This starts a range of PC's for which no
line number information is known.
* symtab.c (find_pc_sect_line): If our best fit is in a range of
PC's for which no line number info is found (line number is zero)
then we didn't find any valid line information.
* symtab.h: Document use of zero line number entry.