[RFA] dwarf2loc, guard against null

Daniel Jacobowitz drow@false.org
Mon Sep 17 12:30:00 GMT 2007


On Mon, Sep 17, 2007 at 02:26:54PM +0200, Jerome Guitton wrote:
> * retry to print the variable => end up in dwarf_expr_frame_base,
> no frame, crash.
> 
> We are (probably) still using a wrong .debug_info at this point.

Yeah.  Shouldn't you have gotten a "no such variable in this scope"
error?  I'm not sure how symbol lookup found a local variable without
any frame.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list