This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 2/8] Python: Fix exception handling in py-record-btrace.c
Tim Wiederhake <tim.wiederhake@intel.com> writes:
> GDB_PY_HANDLE_EXCEPTION does not handle all exceptions. Replace with call to
> gdbpy_convert_exception.
>
> 2017-04-21 Tim Wiederhake <tim.wiederhake@intel.com>
>
> gdb/ChangeLog:
> python/py-record-btrace.c (btpy_insn_sal, btpy_insn_data,
> btpy_insn_decode, recpy_bt_goto): Handle all exceptions.
I don't know much about exception in python, could some one else review
this patch? Phil, Doug?
--
Yao (齐尧)