This is the mail archive of the gdb-patches@sourceware.org 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: [rfc][patch] Fix for gdb/10275 (mis-handling of DW_CFA_restore_state)


On Thu, Jun 25, 2009 at 9:14 AM, Tom Tromey<tromey@redhat.com> 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  <ppluzhnikov@google.com>

	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  <ppluzhnikov@google.com>

	gdb/10275
	* gdb.dwarf2/dw2-restore.{S,exp}: New test.

Attachment: gdb-bug-10275-20090625.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]