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)


>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:

Paul> Fixing this looks easier than I expected :-)
Paul> Regtested on Linux/x86_64 (no regressions).

This looks reasonable to me.

Paul> I also verified that I get correct stack for my reduced test case in
Paul> gdb/10275, and in my real gcc-4.5 compiled optimized code.

Paul> If this looks correct, I'll add a test case.

Yes, please do.  Thanks.

Paul> +	      fs->regs.cfa_reg = dwarf2_frame_adjust_regnum (gdbarch, fs->regs.cfa_reg,

This line looks like it wraps now.

Tom


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