[2/5] RFC: fix py-finishbreakpoint bug
Tom Tromey
tromey@redhat.com
Thu Feb 28 19:21:00 GMT 2013
>>>>> "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
More information about the Gdb-patches
mailing list