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: [2/5] RFC: fix py-finishbreakpoint bug


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> The exception checker pointed out that we called
Tom> frame_object_to_frame_info in the Python code outside of a TRY_CATCH.

Tom> Also, the code seemed somewhat convoluted in that it called
Tom> gdbpy_newest_frame rather than directly calling get_current_frame.

Tom> This patch rearranges the code to be correct.

Tom> 	* py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call
Tom> 	frame_object_to_frame_info inside TRY_CATCH.

I'm checking this in now.

Tom


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