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/stabs] Fix for line table problems (was: Re: [RFC] Gdb line table implementation tweak)


On Thu, Mar 21, 2002 at 02:03:44PM -0500, Jim Blandy wrote:
> 
> This looks sound to me.  Let's put it in and see what happens.

Committed.  If everything seems OK in a little while (a week, say?)
I'll move it to the branch.

As I said, I was going to do the exact same thing for DWARF-2. 
Unfortunately... this is hard to do efficiently.  We don't process
functions at the same time as line numbers.  For working around a
compiler bug, it's probably not worthwhile.

I could do the equivalent of Fred's original patch for DWARF-2, at
DW_LNS_end_sequence; there's a comment there saying we can not record
the end of a line, but now we can.  On the other hand, it will
introduce the same problem with broken debug output that we observed in
stabs.  So I'm not going to do that until I think of an efficient way
to handle it.  Despite the clutter, I'd prefer to deal with this error
gracefully, now that it's "out there" in quantity.

-- 
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]