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] Artifical dwarf2 debug info


On Tue, Dec 17, 2002 at 09:23:15AM -0500, Andrew Cagney wrote:
> >Ehm ... what's the result regarding to my patch, guys?
> 
> I think pending changes for the most part render the cornerstone of this 
> patch obsolete.  This is because the dwarf2cfi code wont't be called 
> when the frame doesn't have dwarf2 info -> the case that this code is 
> trying to handle.
> 
> The idea of being able to create debug info at run time, though, is very 
> much worth persuing.

Eh, I don't agree at all.  We'll be calling a function to figure out if
the affected PC value has CFI information.  Where's that function going
to live?  In the CFI reader presumably, and it would be the appropriate
time to construct fake debug info.

I think that Michal's patch would look substantively the same after
these pending changes.

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