On Thu, Jun 25, 2009 at 9:14 AM, Tom Tromey wrote: > Paul> If this looks correct, I'll add a test case. > Yes, please do. Attached. > Paul> +       fs->regs.cfa_reg = dwarf2_frame_adjust_regnum (gdbarch, fs->regs.cfa_reg, > This line looks like it wraps now. Yes, fixed here and in one more place. Thanks, -- Paul Pluzhnikov ChangeLog 2009-06-25 Paul Pluzhnikov gdb/10275 * dwarf2-frame.c (dwarf2_frame_state): Move cfa_offset, cfa_reg, cfa_how and cfa_exp into regs and adjust users. testsuite/ChangeLog 2009-06-25 Paul Pluzhnikov gdb/10275 * gdb.dwarf2/dw2-restore.{S,exp}: New test.