This is the mail archive of the 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: [RFC] Partial support for dwarf3 DW_AT_ranges

On Fri, Jan 04, 2002 at 10:21:04AM -0500, Daniel Berlin wrote:
> On Mon, 31 Dec 2001, Richard Henderson wrote:
> > GCC began emitting DW_AT_ranges back in September to deal with
> > lexical scopes made discontiguous by basic block reordering.
> > 
> > As of today, it may also create discontiguous lexical scopes
> > due to scheduling.  (Before today under the same circumstances
> > we'd lose track of which instructions belonged to which scope
> > and fail to emit any debug information whatsoever.)
> > 
> > However, GDB doesn't recognize DW_AT_ranges as a valid way of
> > marking a lexical scope, which causes it to discard the scope
> > entirely.  Which is probably the least useful thing that could
> > be done.
> > 
> > The following does not add proper support for discontiguous
> > address ranges.  I couldn't figure out how to do that in any
> > way that wasn't horribly invasive.  
> Horribly invasive to the dwarf2 reader, or to other pieces of gdb?

Other places in GDB; the framework isn't there to record it.

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]