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] import drow dbxread.c fix to branch


On Fri, Apr 05, 2002 at 04:10:21PM -0500, Jim Blandy wrote:
> 
> Elena Zannoni <ezannoni@redhat.com> writes:
> > Daniel Jacobowitz writes:
> >  > On Thu, Apr 04, 2002 at 08:17:51PM -0600, Michael Elizabeth Chastain wrote:
> >  > > 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.
> >  > 
> >  > Right now it doesn't; that referred to a copy of the GnuPro toolchain
> >  > that (I think) is dead.  The comment was a bit on the old side.
> >  > 
> > 
> > All I could find out from cvs about that code is that is was
> > introduced sometimes in 1999, before sourceware was started.
> 
> Perhaps this is bad attitude on my part, but I think we should go
> ahead with the changes (which we know are helpful), and wait until the
> older problem surfaces.
> 
> When it does, we can find another way to deal with it.  For example,
> we could check for zeros in SLINE stabs, and fix them there, before
> they ever make it into GDB's line table structure.

I agree - and we have.  If the GCC extension in question resurfaces,
we'll deal with it then.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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