Hi, The default frame pointer accessor only copes with a fixed frame pointer. I've added a dwarf2_virtual_frame_pointer function, which can be enabled with set_gdbarch_virtual_frame_pointer (gdbarch, dwarf2_virtual_frame_pointer) It executes the cfa for the supplied PC and determines which register is the frame pointer at that point. I've not hooked it into any existing architectures, but verified its functionality on an unrealeased architecture where $sp or $fp might be the relevent register. I've tested on i686-pc-linux-gnu also, ok? nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk