dwarf2 frame unwinder assumptions on SP

Daniel Jacobowitz drow@false.org
Mon Jul 11 16:03:00 GMT 2005


On Mon, Jul 11, 2005 at 05:58:14PM +0200, Christophe LYON wrote:
> I don't see what to do in init_reg without adding a new value to the
> dwarf2_frame_reg_rule enum. Do you mean changing the semantics of
> DWARF2_FRAME_REG_CFA and provide a frame_prev_register() method
> to interpret it accordingly?

No.  Change it globally in dwarf2-frame.c, since the offset field is
currently unused with that rule.

I have the nagging feeling this has come up before, but I can't
remember the conclusion.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gdb mailing list