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: [RFA] DWARF frame unwinder executes one too many rows


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> gdb/ChangeLog:
Joel>         * dwarf2-frame.c (dwarf2_frame_cache): Use
Joel>         get_frame_address_in_block instead of get_frame_pc as
Joel>         the bound for executing the frame's FDE.
Joel> gdb/testsuite/ChangeLog:
Joel>         * gdb.ada/rdv_wait: New testcase.

This looks good to me.

I looked into the history a tiny bit.  It appears I introduced this in
revision 1.120, but looking at the diff it appears I just hoisted the
call to get_frame_pc out of execute_cfa_program.  Whew.

Before that it gets into stuff before my involvement:

-  CORE_ADDR pc = frame_pc_unwind (next_frame);
+  CORE_ADDR pc = get_frame_pc (this_frame);

Tom


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